Gyu-Ho Lee
ba233e2f4d
etcdserver: preallocate slice in apply
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-06 09:13:12 -08:00
Gyu-Ho Lee
21ba9a89a7
Merge pull request #8819 from WIZARD-CXY/fixgrafana
...
Documentation/op-guide: fix unit in grafana
2017-11-06 08:48:05 -08:00
chenxingyu
0b72f651a1
Documentation/op-guide: fix unit in grafana
2017-11-06 13:52:05 +08:00
Gyu-Ho Lee
80d5e1cbb7
Merge pull request #8820 from gyuho/error-code
...
api/v3rpc: deprecate grpc.Errorf
2017-11-04 23:03:46 -07:00
Gyu-Ho Lee
5d98710b2e
api/v3rpc: deprecate grpc.Errorf
...
It's been deprecated as of grpc/grpc-go v1.6.x.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-04 22:08:17 -07:00
Gyu-Ho Lee
de950a40e0
Merge pull request #8818 from gyuho/ttt
...
*: fail tests with egrep "(--- FAIL:|leak)"
2017-11-03 10:56:11 -07:00
Gyu-Ho Lee
e35d34ccea
hack/scripts-dev: fail tests with "(--- FAIL:|leak)" in Makefile
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-03 10:15:24 -07:00
Gyu-Ho Lee
31912e35b3
semaphore.sh: fail tests with "(--- FAIL:|leak)"
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-03 10:15:19 -07:00
Gyu-Ho Lee
3f93d9ae00
test: fail tests with "--- FAIL:"
...
To differentiate from gRPC client log "TRANSIENT_FAILURE"
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-03 10:15:14 -07:00
Gyu-Ho Lee
41d37fcc51
Merge pull request #8816 from gyuho/gofmt
...
lease/leasehttp: use keyed fields in composite literals
2017-11-03 10:11:12 -07:00
Gyu-Ho Lee
0048df6faf
lease/leasehttp: use keyed fields in composite literals
...
Was complaining leasepb.LeaseInternalRequest composite literal uses unkeyed fields
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-03 09:58:03 -07:00
Gyu-Ho Lee
ef475b2502
Merge pull request #8812 from gyuho/default
...
embed: NewConfig sets LogOutput to "default"
2017-11-02 16:31:33 -07:00
Gyu-Ho Lee
adc3cea8cf
etcdmain: use embed.DefaultLogOutput for flags
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 14:43:06 -07:00
Gyu-Ho Lee
cdc71ae38e
embed: NewConfig sets LogOutput to "default"
...
Otherwise, embedded etcd will panic in SetupLogging
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 14:41:32 -07:00
Gyu-Ho Lee
b65435b86d
Merge pull request #8811 from gyuho/fmt
...
store/stats.go: fix gofmt warnings
2017-11-02 14:19:50 -07:00
Gyu-Ho Lee
f6ca686882
store/stats.go: fix gofmt warnings
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 14:18:00 -07:00
Gyu-Ho Lee
ef0e8e17d9
Merge pull request #8810 from gyuho/grpclog-embed
...
*: move logging to embed, disable grpc server log by default
2017-11-02 14:10:11 -07:00
Gyu-Ho Lee
6127f785a4
embed: disable grpc server logging by default
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 13:19:49 -07:00
Gyu-Ho Lee
1fa295e3ba
etcdmain: move SetupLogging to embed
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 13:19:49 -07:00
Gyu-Ho Lee
4b1e09f2b4
embed: move SetupLogging, LogOutput from etcdmain
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 13:19:44 -07:00
Gyu-Ho Lee
f8bec0f631
Merge pull request #8764 from gyuho/hack
...
hack: add dev scripts
2017-11-02 08:35:43 -07:00
Gyu-Ho Lee
ff05596ba7
hack/scripts: add Makefile for etcd development
...
Adding some frequently used commands.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 06:59:02 -07:00
Gyu-Ho Lee
70f64bb1b6
Dockerfile-test: make Go version flexible, move other test Dockerfiles
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 06:59:02 -07:00
Gyu-Ho Lee
736b9f0be3
gitignore: ignore hidden Dockerfiles for docker build
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 06:58:58 -07:00
Gyu-Ho Lee
3ac54be402
Merge pull request #8801 from gyuho/windows
...
vendor: upgrade coreos/bbolt to v1.3.1-coreos.3
2017-10-31 20:09:07 -07:00
Gyu-Ho Lee
67722fc3ff
vendor: upgrade coreos/bbolt to v1.3.1-coreos.3
...
And pin some other dependencies.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-31 19:02:29 -07:00
Gyu-Ho Lee
9e509eb77f
Merge pull request #8799 from gyuho/vvv
...
semaphore,travis: use Go 1.9.2
2017-10-31 13:34:13 -07:00
Gyu-Ho Lee
791370bacf
Merge pull request #8796 from gyuho/aaa
...
clientv3/integration: match more errors in put retries
2017-10-31 13:33:56 -07:00
Gyu-Ho Lee
0ca8f420d4
clientv3/integration: match more errors in put retries
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-31 13:31:38 -07:00
Gyu-Ho Lee
ba749166d5
semaphore,travis: use Go 1.9.2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-31 13:27:16 -07:00
Gyu-Ho Lee
4e2ef67f2b
Merge pull request #8795 from gyuho/balancer-timeout
...
clientv3/integration: increase balancer switch timeout for TestKVGetResetLoneEndpoint
2017-10-31 13:09:28 -07:00
Gyu-Ho Lee
0f86f0e0e6
words: whitelist more
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-31 11:05:26 -07:00
Gyu-Ho Lee
2c13231e7b
clientv3/integration: increase balancer switch timeout for TestKVGetResetLoneEndpoint
...
Since 3-second is the minimum time to keep an endpoint in unhealthy,
it is possible that endpoint switch happens right after context timeout.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-31 10:48:15 -07:00
Gyu-Ho Lee
63d0ac0fe6
Merge pull request #8790 from gyuho/blackhole-immutable
...
clientv3/integration: add blackhole tests for range RPCs
2017-10-30 19:58:42 -07:00
Gyu-Ho Lee
8d23e1c870
clientv3/integration: add blackhole tests for range RPCs
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-30 19:18:53 -07:00
Gyu-Ho Lee
9731910754
Merge pull request #8792 from gyuho/blackhole-watch
...
clientv3/integration: move to TestBalancerUnderBlackholeKeepAliveWatch
2017-10-30 17:40:38 -07:00
Gyu-Ho Lee
a37dd0055f
clientv3/integration: move to TestBalancerUnderBlackholeKeepAliveWatch
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-30 17:19:48 -07:00
Gyu-Ho Lee
9ca733255a
Merge pull request #8789 from gyuho/blackhole-tests
...
clientv3/integration: add blackhole tests on mutable operations
2017-10-30 14:14:02 -07:00
Gyu-Ho Lee
8d5c284b6c
clientv3/integration: add blackhole tests on mutable operations
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-30 13:32:59 -07:00
Gyu-Ho Lee
299c704295
Merge pull request #8785 from gyuho/ttt
...
clientv3/integration: finish isolated node test cases
2017-10-30 12:38:02 -07:00
Gyu-Ho Lee
bea930f44d
clientv3/integration: finish isolated node test cases
...
1. one with retry
2. one without retry (range request with longer timeouts)
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-30 11:17:43 -07:00
Gyu-Ho Lee
2200450022
Merge pull request #8783 from gyuho/election-timeout
...
integration: expose ElectionTimeout method
2017-10-30 10:47:38 -07:00
Gyu-Ho Lee
a41f3b64aa
integration: expose ElectionTimeout, multiply ticks to timeout
...
To be consistent with etcdserver
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-30 09:22:40 -07:00
Xiang Li
87ad10c155
Merge pull request #8681 from mitake/binsearch-root-role
...
auth: use binary search for checking root permission
2017-10-27 15:09:55 -07:00
Gyu-Ho Lee
ca1e6a74e0
Merge pull request #8782 from gyuho/rename
...
clientv3/integration: rename to 'mustWaitPinReady'
2017-10-27 15:07:31 -07:00
Gyu-Ho Lee
4eb5a70126
Merge pull request #8784 from gyuho/ttt
...
clientv3/integration: remove client keepalive in network partition tests
2017-10-27 15:01:03 -07:00
Gyu-Ho Lee
5d169b866f
clientv3/integration: rename to 'mustWaitPinReady'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-27 15:00:31 -07:00
Xiang Li
d75a6a39f5
Merge pull request #8775 from marcovc/master
...
etcdctl/v3: add lease keep-alive --once flag
2017-10-27 14:58:59 -07:00
Gyu-Ho Lee
03ce2fa037
clientv3/integration: remove client keepalive in network partition tests
...
Those tests are about balancer endpoint switch, not about keepalive pings.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-27 14:47:37 -07:00
Xiang Li
2cea13ba68
Merge pull request #8779 from gyuho/shutdown-test
...
clientv3/integration: add TestBalancerUnderServerShutdownImmutable
2017-10-27 12:23:22 -07:00