https://github.com/coreos/etcd

sort by:
Revision Author Date Message Commit Date
1674e68 version: 3.2.22 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:43 UTC
7c47afd e2e: test client-side cipher suites with curl Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:43 UTC
3e0cc1e etcdmain: add "--cipher-suites" flag Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:43 UTC
6fa95eb embed: support custom cipher suites Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:43 UTC
ba4a7e0 integration: test client-side TLS cipher suites Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:43 UTC
4bd81d0 pkg/transport: add "TLSInfo.CipherSuites" field Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:43 UTC
f690f3a pkg/tlsutil: add "GetCipherSuite" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 06 June 2018, 02:53:40 UTC
af6f459 version: bump up to 3.2.21+git 31 May 2018, 19:50:14 UTC
3ac81f3 version: bump up to 3.2.21 31 May 2018, 19:43:49 UTC
4ace7c7 mvcc: fix panic by allowing future revision watcher from restore operation This also happens without gRPC proxy. Fix panic when gRPC proxy leader watcher is restored: ``` go test -v -tags cluster_proxy -cpu 4 -race -run TestV3WatchRestoreSnapshotUnsync === RUN TestV3WatchRestoreSnapshotUnsync panic: watcher minimum revision 9223372036854775805 should not exceed current revision 16 goroutine 156 [running]: github.com/coreos/etcd/mvcc.(*watcherGroup).chooseAll(0xc4202b8720, 0x10, 0xffffffffffffffff, 0x1) /home/gyuho/go/src/github.com/coreos/etcd/mvcc/watcher_group.go:242 +0x3b5 github.com/coreos/etcd/mvcc.(*watcherGroup).choose(0xc4202b8720, 0x200, 0x10, 0xffffffffffffffff, 0xc420253378, 0xc420253378) /home/gyuho/go/src/github.com/coreos/etcd/mvcc/watcher_group.go:225 +0x289 github.com/coreos/etcd/mvcc.(*watchableStore).syncWatchers(0xc4202b86e0, 0x0) /home/gyuho/go/src/github.com/coreos/etcd/mvcc/watchable_store.go:340 +0x237 github.com/coreos/etcd/mvcc.(*watchableStore).syncWatchersLoop(0xc4202b86e0) /home/gyuho/go/src/github.com/coreos/etcd/mvcc/watchable_store.go:214 +0x280 created by github.com/coreos/etcd/mvcc.newWatchableStore /home/gyuho/go/src/github.com/coreos/etcd/mvcc/watchable_store.go:90 +0x477 exit status 2 FAIL github.com/coreos/etcd/integration 2.551s ``` gRPC proxy spawns a watcher with a key "proxy-namespace__lostleader" and watch revision "int64(math.MaxInt64 - 2)" to detect leader loss. But, when the partitioned node restores, this watcher triggers panic with "watcher minimum revision ... should not exceed current ...". This check was added a long time ago, by my PR, when there was no gRPC proxy: https://github.com/coreos/etcd/pull/4043#discussion_r48457145 > we can remove this checking actually. it is impossible for a unsynced watching to have a future rev. or we should just panic here. However, now it's possible that a unsynced watcher has a future revision, when it was moved from a synced watcher group through restore operation. This PR adds "restore" flag to indicate that a watcher was moved from the synced watcher group with restore operation. Otherwise, the watcher with future revision in an unsynced watcher group would still panic. Example logs with future revision watcher from restore operation: ``` {"level":"info","ts":1527196358.9057755,"caller":"mvcc/watcher_group.go:261","msg":"choosing future revision watcher from restore operation","watch-key":"proxy-namespace__lostleader","watch-revision":9223372036854775805,"current-revision":16} {"level":"info","ts":1527196358.910349,"caller":"mvcc/watcher_group.go:261","msg":"choosing future revision watcher from restore operation","watch-key":"proxy-namespace__lostleader","watch-revision":9223372036854775805,"current-revision":16} ``` Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 31 May 2018, 18:42:50 UTC
a09874b auth: Fix simpleToken to respect disabled state for assign 23 May 2018, 22:45:34 UTC
a5437f2 version: bump up to 3.2.20+git 09 May 2018, 17:19:54 UTC
f272557 version: bump up to 3.2.20 09 May 2018, 17:03:42 UTC
71eba35 Merge pull request #9694 from mohitsoni/release-3.2 Cherry-picking PR 7967 to release-3.2 04 May 2018, 19:16:09 UTC
557eee8 etcdserver: purge old snap.db files Lots of garbage db files in #7957. Should purge. 04 May 2018, 17:51:59 UTC
b71df1f version: bump up to 3.2.19+git 24 April 2018, 21:25:10 UTC
8a9b3d5 version: bump up to 3.2.19 24 April 2018, 21:15:36 UTC
4e7af27 etcdmain: fix "InitialElectionTickAdvance" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 April 2018, 18:09:46 UTC
8ba6bf4 etcdserver: log skipping initial election tick Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 April 2018, 17:58:11 UTC
d549256 etcdmain: add "--initial-election-tick-advance" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 April 2018, 17:57:47 UTC
40aee7b embed: add "InitialElectionTickAdvance" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 April 2018, 17:56:03 UTC
7de2064 integration: set InitialElectionTickAdvance to true by default Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 April 2018, 17:53:49 UTC
0d2fe21 etcdserver: add "InitialElectionTickAdvance" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 April 2018, 17:53:33 UTC
d45053c etcdserver: add is_leader prometheus metric that is 1 on the leader. Before this change, we had now way to find a leader using /metrics endpoint. This commit adds a metric to do that. 19 April 2018, 21:59:53 UTC
dfcdaa5 integration: fix peer TLS tests Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 17 April 2018, 22:15:02 UTC
f9d58d2 integration: re-overwrite "httptest.Server" TLS.Certificates Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 17 April 2018, 13:16:52 UTC
7f1225a pkg/transport: don't set certificates on tls config 17 April 2018, 13:16:15 UTC
21e7a30 functional/tester: remove Txn stresser in 3.2 Nested Txn is not supported Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 13 April 2018, 02:42:33 UTC
4e11cea functional: disable auto TLS Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 13 April 2018, 02:13:50 UTC
8f59849 vendor: add "gogo/protobuf/gogoproto" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 13 April 2018, 02:00:01 UTC
3b770ee test: set up gopath in 3.2 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 13 April 2018, 01:26:15 UTC
71a5f77 functional: create symlinks for build Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 23:05:13 UTC
14ce0ea travis: run "build" tests for "functional" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 22:57:15 UTC
7b1d090 functional/rpcpb: remove "InsecureSkipVerify" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 22:55:20 UTC
6efde07 functional: disable TLS in release-3.2 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 22:32:14 UTC
244b3b3 snapshot: remove tests Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 22:23:35 UTC
5bc5c49 functional: initial commit (copied from master) Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 20:20:06 UTC
2a42b47 snapshot: initial commit (for functional tests) Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 20:20:06 UTC
df90e3c test: simplify Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 12 April 2018, 18:08:01 UTC
1dfce6b etcdserver/stats: make all fields guarded by mutex. 12 April 2018, 02:49:31 UTC
67a97c9 etcdserver/stats: fix stats data race. 12 April 2018, 02:49:31 UTC
7f1d94d test: remove build flag "-a" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 17:17:13 UTC
a43ae13 cmd/vendor: add "go.uber.org/zap" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 06:48:34 UTC
748d220 pkg/proxy: initial commit (for functional tests) Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 06:47:47 UTC
9dea2f7 tools: remove Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 06:46:52 UTC
c3c88f4 Makefile: sync with master Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 06:34:50 UTC
9e88e0c tests/*: clean up travis, semaphore scripts Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 06:32:41 UTC
487c8d3 etcdserver: fix "lease_expired_total" metrics Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 April 2018, 00:59:07 UTC
a5dc3b7 tests: move test scripts Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 09 April 2018, 18:34:44 UTC
71e9652 version: bump up to 3.2.18+git 29 March 2018, 17:57:58 UTC
eddf599 version: bump up to 3.2.18 29 March 2018, 17:45:17 UTC
a00b652 semaphore: run release tests with v3.2.17 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 29 March 2018, 16:23:55 UTC
a089a74 e2e: remove "/v3beta" endpoints Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 19:12:44 UTC
dd64080 e2e: remove "authHeader" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 18:38:45 UTC
3f8213a e2e: remove some tests from master branch Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 18:34:55 UTC
2160c47 clientv3: skip "TestDialTimeout" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 18:28:14 UTC
29185da Merge pull request #9502 from jpbetz/automated-cherry-pick-of-#9415-release-3.2 Automated cherry pick of #9415 28 March 2018, 18:21:36 UTC
4acfe50 Merge pull request #9503 from jpbetz/automated-cherry-pick-of-#9437-release-3.2 Automated cherry pick of #9437 28 March 2018, 18:04:17 UTC
e6c5cdf etcdserver: adjust election ticks on restart Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 17:58:09 UTC
0a45603 rafthttp: add missing "peer_sent_failures_total" metrics call Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 17:09:50 UTC
6d7f592 etcdserver: make "advanceTicks" method Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 17:06:57 UTC
431fd39 rafthttp: add "ActivePeers" to "Transport" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 28 March 2018, 17:06:28 UTC
39ea00b Documentation/upgrades: backport all upgrade guides Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 27 March 2018, 17:31:57 UTC
6f848b3 version: bump up to 3.2.17+git 08 March 2018, 22:16:24 UTC
28c47bb version: bump up to 3.2.17 08 March 2018, 21:45:31 UTC
ea0fda6 clientv3/integration: test "rpctypes.ErrLeaseTTLTooLarge" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 18:38:18 UTC
6e5e3d1 *: enforce max lease TTL with 9,000,000,000 seconds math.MaxInt64 / time.Second is 9,223,372,036. 9,000,000,000 is easier to remember/document. Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 18:38:07 UTC
58f9080 Merge pull request #9404 from jpbetz/automated-cherry-pick-of-#9379-origin-release-3.2 Automated cherry pick of #9379 08 March 2018, 16:21:35 UTC
f8fc817 *: remove unused env vars Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 09:36:21 UTC
3bb8edc e2e: fix missing "apiPrefix" Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 09:08:26 UTC
4e7b9d2 e2e: add "Election" grpc-gateway test cases Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 09:07:19 UTC
fe90bc4 Merge pull request #9405 from jpbetz/automated-cherry-pick-of-#9347-origin-release-3.2 Automated cherry pick of #9347 08 March 2018, 08:59:26 UTC
3710c24 Merge pull request #9403 from jpbetz/automated-cherry-pick-of-#9336-origin-release-3.2 Automated cherry pick of #9336 08 March 2018, 08:58:52 UTC
cbea4ef etcdserver: enable "CheckQuorum" when starting with "ForceNewCluster" We enable "raft.Config.CheckQuorum" by default in other Raft initial starts. So should start with "ForceNewCluster". Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 07:12:32 UTC
273a43d api/v3election: error on missing "leader" field Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 08 March 2018, 07:08:28 UTC
ceaa55e httpproxy: cancel requests when client closes a connection 08 March 2018, 07:01:10 UTC
a537163 hack/scripts-dev: fix indentation in run.sh Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 07 March 2018, 22:32:08 UTC
660f7fd hack/scripts-dev: sync with master Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 07 March 2018, 22:22:18 UTC
e48a182 travis: use Go 1.8.7, sync with master Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 07 March 2018, 22:21:02 UTC
a61ba42 Documentation/op-guide: highlight defrag operation "--endpoints" flag Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 05 March 2018, 19:13:54 UTC
83c94e9 etcdctl: highlight "defrag" command caveats Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 05 March 2018, 19:12:41 UTC
55e008f Documentation: make "Consul" section more objective Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 02 March 2018, 18:42:13 UTC
a482744 travis: update Go version 27 February 2018, 19:28:37 UTC
41830ca semaphore: update Go, release test version 27 February 2018, 19:27:47 UTC
4a620e2 version: 3.2.16+git 12 February 2018, 22:29:08 UTC
121edf0 version: 3.2.16 12 February 2018, 17:43:33 UTC
b5abfe1 Merge pull request #9297 from jpbetz/automated-cherry-pick-of-#9281-origin-release-3.2 Automated cherry pick of #9281 08 February 2018, 06:32:59 UTC
33633da mvcc: fix watchable store test for 3.2 cherrypick of #9281 07 February 2018, 23:57:34 UTC
e08abbe mvcc: restore unsynced watchers In case syncWatchersLoop() starts before Restore() is called, watchers already added by that moment are moved to s.synced by the loop. However, there is a broken logic that moves watchers from s.synced to s.uncyned without setting keyWatchers of the watcherGroup. Eventually syncWatchers() fails to pickup those watchers from s.unsynced and no events are sent to the watchers, because newWatcherBatch() called in the function uses wg.watcherSetByKey() internally that requires a proper keyWatchers value. 07 February 2018, 23:34:21 UTC
bdc3ed1 version: 3.2.15+git Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 23 January 2018, 22:04:11 UTC
1b3ac99 version: 3.2.15 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 22 January 2018, 19:31:16 UTC
fd4595a clientv3/integration: add TestMemberAddUpdateWrongURLs Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 22 January 2018, 19:31:01 UTC
e5f63b6 clientv3: prevent no-scheme URLs to cluster APIs Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 22 January 2018, 19:27:04 UTC
68d27b2 etcdserver/api/v3rpc: debug-log client disconnect on TLS, http/2 stream CANCEL Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 19 January 2018, 20:50:06 UTC
7c4274b version: 3.2.14+git Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 January 2018, 22:15:36 UTC
fb5cd6f version: 3.2.14 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 11 January 2018, 19:19:37 UTC
6999bbb mvcc: check null before set FillPercent not to panic Since CreateBucketIfNotExists() can return nil when it gets an error, accessing FillPercent must be done after a nil check, not to cause a panic. 09 January 2018, 01:46:06 UTC
df4036a etcdserver/api/v3rpc: debug user cancellation and log warning for rest The context error with cancel code is typically for user cancellation which should be at debug level. For other error codes we should display a warning. Fixes #9085 09 January 2018, 01:46:01 UTC
848590e version: bump up to 3.2.13+git Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 02 January 2018, 22:32:36 UTC
95a726a version: bump up to 3.2.13 Signed-off-by: Gyuho Lee <gyuhox@gmail.com> 02 January 2018, 21:29:56 UTC
back to top