https://github.com/etcd-io/etcd

sort by:
Revision Author Date Message Commit Date
67d0c21 version: 3.4.0-rc.2 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 23 August 2019, 07:37:01 UTC
18a077d raft : Write compact if statements 23 August 2019, 07:36:44 UTC
fb6d870 Merge pull request #11072 from jingyih/automated-cherry-pick-of-#11069-origin-release-3.4 Automated cherry pick of #11069 on release-3.4 22 August 2019, 22:57:12 UTC
e00224f integration: fix TestKVPutError Give backend quota enough overhead. 22 August 2019, 20:33:19 UTC
2af1caf functional test: fix typo in agent log Fix typo in functional test agent log to avoid debugging confusion. 20 August 2019, 22:23:13 UTC
0777eab Documentation/upgrades: special upgrade guides for >= 3.3.14 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 16 August 2019, 23:19:22 UTC
0ecc0d0 etcdmain: update help message Add experimental-peer-skip-client-san-verification flag description to help message. Add default values. 16 August 2019, 23:07:06 UTC
982a8c9 rafttest: print Ready before processing it It was confusing to see the effects of the Ready (i.e. log messages) printed before the Ready itself. 16 August 2019, 15:10:17 UTC
b8e3e4e raft: fix a test file name 16 August 2019, 15:10:07 UTC
4090edf raft: document problem with leader self-removal When a leader removes itself, it will retain its leadership but not accept new proposals, making the range effectively stuck until manual intervention triggers a campaign event. This commit documents the behavior. It does not correct it yet. 16 August 2019, 15:09:56 UTC
078cacc raft: add a batch of interaction-driven conf change tests Verifiy the behavior in various v1 and v2 conf change operations. This also includes various fixups, notably it adds protection against transitioning in and out of new configs when this is not permissible. There are more threads to pull, but those are left for future commits. 16 August 2019, 15:09:44 UTC
d177b7f raft: proactively probe newly added followers When the leader applied a new configuration that added voters, it would not immediately probe these voters, delaying when they would be caught up. I noticed this while writing an interaction-driven test, which has now been cleaned up and completed. 16 August 2019, 15:09:33 UTC
2c1a1d8 rafttest: add _breakpoint directive It is a helper case to attach a debugger to when a problem needs to be investigated in a longer test file. In such a case, add the following stanza immediately before the interesting behavior starts: _breakpoint: ---- ok and set a breakpoint on the _breakpoint case. 16 August 2019, 15:09:23 UTC
0fc1084 raft: initialize new Progress at LastIndex, not LastIndex+1 Initializing at LastIndex+1 meant that new peers would not be probed immediately when they appeared in the leader's config, which delays their getting caught up. 16 August 2019, 15:09:11 UTC
df489e7 raft/rafttest: fix stabilize handler It was bailing out too early. 16 August 2019, 15:08:28 UTC
f13a510 tests/e2e: fix version matching Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 21:46:19 UTC
c9465f5 *: use Go 1.12.9 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 21:40:46 UTC
8f85f0d version: 3.4.0-rc.1 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 20:45:25 UTC
0161e72 mvcc: keep 64-bit alignment in "store" struct Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 20:31:52 UTC
1691eec clientv3/integration: fix "mvcc.NewStore" call Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 20:31:46 UTC
1e213b7 *: Add experimental-compaction-batch-limit flag Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 20:31:39 UTC
b30c1eb mvcc: Optimize compaction for short commit pauses 15 August 2019, 20:29:28 UTC
a0be90f Documentation/upgrades: update Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 15 August 2019, 00:01:19 UTC
8110a96 scripts/release: clean up minor tag docker commands Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 14 August 2019, 05:01:10 UTC
8e05c73 Makefile: explicit about GOOS in docker-test builds Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 23:57:22 UTC
970ca9f Documentation/upgrades: highlight "--enable-v2=false" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 22:32:46 UTC
a481ee8 vendor: update "net/http2" to latest Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 21:44:59 UTC
4d06d3b vendor: upgrade grpc-go to 1.23.0 https://github.com/grpc/grpc-go/releases/tag/v1.23.0 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 21:44:53 UTC
98462b5 *: use Go 1.12.8 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 19:56:11 UTC
2a8d09b clientv3: use Endpoints(), fix context creation If overwritten, the previous context should be canceled first. Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 19:43:49 UTC
49c6e87 version: 3.4.0-pre Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 13 August 2019, 19:43:40 UTC
84ed0f7 version: 3.4.0-rc.0 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 17:06:34 UTC
52d3429 scripts: remove ".aci" commands Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 17:06:24 UTC
9c1d2ea scripts/release: fix version check commands Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 16:59:24 UTC
547631a scripts: fix build docker commands, add more logging Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 16:50:21 UTC
802e01a *: remove "acbuild" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 16:50:21 UTC
1dff1c8 scripts/release: fix "yq" command Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 16:50:18 UTC
ac6b604 raft/rafttest: introduce datadriven testing It has often been tedious to test the interactions between multi-member Raft groups, especially when many steps were required to reach a certain scenario. Often, this boilerplate was as boring as it is hard to write and hard to maintain, making it attractive to resort to shortcuts whenever possible, which in turn tended to undercut how meaningful and maintainable the tests ended up being - that is, if the tests were even written, which sometimes they weren't. This change introduces a datadriven framework specifically for testing deterministically the interaction between multiple members of a raft group with the goal of reducing the friction for writing these tests to near zero. In the near term, this will be used to add thorough testing for joint consensus (which is already available today, but wildly undertested), but just converting an existing test into this framework has shown that the concise representation and built-in inspection of log messages highlights unexpected behavior much more readily than the previous unit tests did (the test in question is `snapshot_succeed_via_app_resp`; the reader is invited to compare the old and new version of it). The main building block is `InteractionEnv`, which holds on to the state of the whole system and exposes various relevant methods for manipulating it, including but not limited to adding nodes, delivering and dropping messages, and proposing configuration changes. All of this is extensible so that in the future I hope to use it to explore the phenomena discussed in https://github.com/etcd-io/etcd/issues/7625#issuecomment-488798263 which requires injecting appropriate "crash points" in the Ready handling loop. Discussions of the "what if X happened in state Y" can quickly be made concrete by "scripting up an interaction test". Additionally, this framework is intentionally not kept internal to the raft package.. Though this is in its infancy, a goal is that it should be possible for a suite of interaction tests to allow applications to validate that their Storage implementation behaves accordingly, simply by running a raft-provided interaction suite against their Storage. 12 August 2019, 15:10:29 UTC
69c97cd vendor: bump datadriven Picks up some fixes for papercuts. 12 August 2019, 15:10:19 UTC
faa71d8 cleanup: correct summary message in put.go 12 August 2019, 15:07:33 UTC
64c1677 tests/e2e: pass "rc.0" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 12 August 2019, 08:46:58 UTC
8ff71c5 test: fix metric name typo 09 August 2019, 20:24:27 UTC
dbe5198 raft: fix restoring joint configurations While writing interaction tests for joint configuration changes, I realized that this wasn't working yet - restoring had no notion of the joint configuration and was simply dropping it on the floor. This commit introduces a helper `confchange.Restore` which takes a `ConfState` and initializes a `Tracker` from it. This is then used both in `(*raft).restore` as well as in `newRaft`. 09 August 2019, 18:18:40 UTC
39d0f4e confchange: clean up unnecessary block 09 August 2019, 18:18:30 UTC
a8b4213 raft : `newRaft()` does check for validity of `Config` 09 August 2019, 18:18:06 UTC
a945379 raft/tracker: visit Progress in stable order This is helpful for upcoming testing work which allows datadriven testing of the interaction of multiple nodes. This testing requires determinism to work correctly. 09 August 2019, 15:39:52 UTC
7a50cd7 raft/auorum: remove unused type 09 August 2019, 15:39:44 UTC
f786b6b etcdserver: add "etcd_server_snapshot_apply_in_progress_total" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 21:02:13 UTC
1c8ab76 integration: test snapshot inflights metrics Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 21:01:54 UTC
abdb7ca etcdserver/api: add "etcd_network_snapshot_send_inflights_total", "etcd_network_snapshot_receive_inflights_total" Useful for deciding when to terminate the unhealthy follower. If the follower is receiving a leader snapshot, operator may wait. Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 21:01:45 UTC
629cb7a agent: fix a data race and deadlock add 1-size buffer for `errc` to avoid deadlock of child goroutine add a local variable to a void data race in `err` when `case <-stream.Context().Done():` is taken 08 August 2019, 19:23:08 UTC
89e1023 Documentation/op-guide: update runtime configuration Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 16:25:29 UTC
9018b3d raft: let learners vote It turns out that that learners must be allowed to cast votes. This seems counter- intuitive but is necessary in the situation in which a learner has been promoted (i.e. is now a voter) but has not learned about this yet. For example, consider a group in which id=1 is a learner and id=2 and id=3 are voters. A configuration change promoting 1 can be committed on the quorum `{2,3}` without the config change being appended to the learner's log. If the leader (say 2) fails, there are de facto two voters remaining. Only 3 can win an election (due to its log containing all committed entries), but to do so it will need 1 to vote. But 1 considers itself a learner and will continue to do so until 3 has stepped up as leader, replicates the conf change to 1, and 1 applies it. Ultimately, by receiving a request to vote, the learner realizes that the candidate believes it to be a voter, and that it should act accordingly. The candidate's config may be stale, too; but in that case it won't win the election, at least in the absence of the bug discussed in: https://github.com/etcd-io/etcd/issues/7625#issuecomment-488798263. 08 August 2019, 16:10:21 UTC
b9bea9d functional/agent: copy file, instead of renaming To retain failure logs in CI testing. Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 16:09:39 UTC
d2675c1 functional/rpcpb: make client log less verbose Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 16:09:34 UTC
8230536 functional.yaml: try lower snapshot count for flaky tests, error threshold Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 08 August 2019, 16:09:29 UTC
524278c pkg/types: Avoid potential double lock of tsafeSet. (tsafeSet).Sub and (tsafeSet).Equals can cause double lock bug if ts and other is pointing the same variable gofmt the code and add some comments 07 August 2019, 23:02:24 UTC
29cdc9a test: output etcd server logs when functional tests fail Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 07 August 2019, 17:16:44 UTC
a6a9a71 integration: fix a data race about `err` don't share `err` between goroutines 06 August 2019, 23:15:27 UTC
8c8f6f4 mvcc: fix typo in test Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 06 August 2019, 22:09:55 UTC
b6cfaf8 v3rpc: fix a typo `err` don't read return value in child goroutine which causes data race. 06 August 2019, 22:09:47 UTC
b522281 stream: Prevent panic when newAttemptLocked fails to get a transport for the new attempt Testing https://github.com/grpc/grpc-go/pull/2958 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 06 August 2019, 22:09:42 UTC
a78793e vendor: update gRPC to latest Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 06 August 2019, 22:09:37 UTC
e09528a Merge pull request #10988 from wenjiaswe/automated-cherry-pick-of-#10987-upstream-release-3.4 Automated cherry pick of #10987 06 August 2019, 06:31:33 UTC
cb4507d functional:update go.etcd.io/etcd link and go image registry for functional test 06 August 2019, 06:28:45 UTC
4cead3c Merge pull request #10986 from wenjiaswe/automated-cherry-pick-of-#10985-upstream-release-3.4 Automated cherry pick of #10985 06 August 2019, 05:45:31 UTC
3ac4164 functional test: Update functional README.md 06 August 2019, 05:12:50 UTC
0564743 CHANGELOG: remove from release branch Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 21:39:18 UTC
9d927af Documentation/upgrades: highlight "grpc.ErrClientConnClosing" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 21:38:51 UTC
5d19b96 proxy/grpcproxy: deprecate "grpc.ErrClientConnClosing" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 21:38:44 UTC
faa1d9d functional: deprecate "grpc.ErrClientConnClosing" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 21:38:35 UTC
ab1db0d clientv3: deprecate "grpc.ErrClientConnClosing" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 21:38:27 UTC
1c312ce functional: use Go 1.12.7 as default Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 19:40:50 UTC
b4fcaad pkg/adt: remove TODO Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 07:25:02 UTC
3468505 clientv3: document "WithBlock" dial option Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 06:53:02 UTC
a2d68dd travis: do not allow CPU 4 test failures Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 06:34:31 UTC
c6e9699 travis: do not run coverage, tip tests in v3.4 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 06:33:13 UTC
b05dfeb scripts/release: remove acbuild commands Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 06:21:51 UTC
bb7df24 pkg/adt: fix interval tree black-height property based on rbtree Author: xkey <xk33430@ly.com> ref. https://github.com/etcd-io/etcd/pull/10978 Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 05 August 2019, 06:15:09 UTC
9ff86fe tests/e2e: skip release tests until release candidate Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 03 August 2019, 07:09:10 UTC
bc9a54b tests/e2e: fix upgrade, metrics tests Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 02 August 2019, 22:58:25 UTC
df1d3f7 functional: remove "embed" support in tests Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 02 August 2019, 22:58:21 UTC
14053ba etcdserver/api: enable 3.4 capability Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 02 August 2019, 22:24:40 UTC
040f2c5 version: 3.4.0-pre Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 23:05:22 UTC
f1c7fd3 functional: add "LogLevel" flags Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 22:58:01 UTC
22a3ec3 CHANGELOG-3.4: highlight version string change Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 22:30:04 UTC
4244ea4 CHANGELOG: update with latest changes, make language consistent Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 22:26:31 UTC
d239b21 Documentation/upgrades: update 3.4 guides Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 22:26:16 UTC
b679c12 Merge pull request #10968 from gyuho/mmm mvcc: add "etcd_mvcc_range_total", "etcd_mvcc_txn_total" 01 August 2019, 21:46:49 UTC
328fdc2 mvcc: add TODOs Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 21:45:21 UTC
f82e23a mvcc: add "etcd_mvcc_range_total", "etcd_mvcc_txn_total" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 21:44:55 UTC
dde3c5f mvcc: clean up metrics names, add missing register calls Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 21:44:55 UTC
05b2f96 Merge pull request #10969 from gyuho/maintainers MAINTAINERS: add @spzala 01 August 2019, 21:44:12 UTC
8d88fea MAINTAINERS: add @spzala Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 21:24:24 UTC
c9bd8db CHANGELOG: fix typos Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 21:11:50 UTC
6804bd8 CHANGELOG: add latest metrics change Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 20:53:12 UTC
d5bd600 CHANGELOG: update "pkg/adt" Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 20:37:28 UTC
3b631e1 pkg/adt: document textbook implementation with pseudo-code Signed-off-by: Gyuho Lee <leegyuho@amazon.com> 01 August 2019, 19:58:47 UTC
456c91b Merge pull request #10959 from gyuho/adt pkg/adt: refactor + add more test cases 01 August 2019, 19:22:15 UTC
5ef8f27 Merge pull request #10962 from hexfusion/promote_mvcc metrics: promote etcd_debugging_mvcc put_total and delete_total 01 August 2019, 05:24:40 UTC
back to top