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

sort by:
Revision Author Date Message Commit Date
344c9f3 Merge pull request #12896 from wilsonwang371/profiling-txn2 server: make applier use ReadTx() in Txn() instead of ConcurrentReadTx() 06 May 2021, 08:59:14 UTC
8af8f6a Merge pull request #12918 from iflamed/fix-doc-demo-bug fix doc demo bug 05 May 2021, 21:01:43 UTC
a8a3eea fix doc demo bug the service parameter not used. 05 May 2021, 05:57:10 UTC
7296a07 Set ETCD_UNSUPPORTED_ARCH to ARM64 (#12557) Signed-off-by: odidev <odidev@puresoftware.com> 04 May 2021, 20:29:47 UTC
b32bc91 learner support snapshot RPC (#12890) * learner support snapshot RPC * CHANGELOG: update for 12890 04 May 2021, 20:26:33 UTC
98083ea server: add experimental flag for using shared buffer in transacton write 04 May 2021, 18:59:08 UTC
f1123d6 fixup! Unify shared code (and constants) with cindex package. 04 May 2021, 16:21:24 UTC
a78d072 Simplify KVstore dependency on cindex. 04 May 2021, 16:21:24 UTC
2fb6f0a Simplify lease management after cindex update is moved to 'hooks'. 04 May 2021, 16:21:23 UTC
2dbecea Simplify KVStore interaction with cindex thanks to hooks. 04 May 2021, 16:21:23 UTC
fe3254a Remove explicit authStore->ConsistencyIndex updates, as they are taken care by hook. 04 May 2021, 13:38:23 UTC
5005167 Integrate backend::hooks with consistent_index. Every transaction committed to backend is writing most recent consistent_index. Makes sure that even automatically trigger commits of batch-transactions stays "really" consistent a.d. the most recent WAL log index applied. 04 May 2021, 13:38:23 UTC
d53d2db Tests: Backend hooks support. 04 May 2021, 13:38:22 UTC
9f11b16 backend: Hooks interface & implementation. 04 May 2021, 13:38:22 UTC
a3fc535 Merge pull request #12914 from ptabor/20210430-read-membership No-storeV2: Read membership information from the backend (Part5) 04 May 2021, 08:15:01 UTC
5615421 update variable declaration location 03 May 2021, 17:30:15 UTC
eb128d2 Merge pull request #12916 from wpedrak/pass-mlock-during-defrag server: reapply `Mlock` flag after defrag 03 May 2021, 16:01:50 UTC
6623c00 server: reapply `Mlock` flag after defrag 03 May 2021, 09:01:02 UTC
c46e96d Merge pull request #12910 from ptabor/20210430-zap-polish Finish migration zap.NewExample -> zaptest.NewLogger(t) in integration tests 29 April 2021, 21:12:56 UTC
3acf6e3 Finish migration zap.NewExample -> zaptest.NewLogger(t) in integration tests 29 April 2021, 20:32:26 UTC
451f65d Merge pull request #12908 from ptabor/20210429-client-retry-logging Clientv3 (retry interceptor) logs should use the configured logger 29 April 2021, 17:25:04 UTC
cedbea6 Merge pull request #12904 from wpedrak/limit_mlocked_memory server: replace mlockall with `Mlock` in `--experimental-memory-mlock` 29 April 2021, 16:21:24 UTC
ffea153 ClientV3 tests use integration.NewClient that configures proper logger. 29 April 2021, 16:18:34 UTC
835643e Merge pull request #12906 from ptabor/20210429-etcdctl-v2-backup-cindex-fix 20210429 etcdctl v2 backup cindex fix 29 April 2021, 16:01:45 UTC
e908ef3 Merge pull request #12903 from lilic/exit-on-signal-int etcdctl/ctlv3: Cleanup keys on signal interrupt. 29 April 2021, 14:22:41 UTC
205a1a4 Read membership information from the backend. 29 April 2021, 11:45:45 UTC
bc8d3f6 Clientv3 (retry) logs should use the configured logger. clientv3 logs (especially tests) were poluted with unattributed to testing.T log lines: ``` {"level":"warn","ts":"2021-04-29T12:42:11.055+0200","logger":"etcd-client","caller":"v3/retry_interceptor.go:64","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc0000fafc0/#initially=[unix://localhost:m10]","attempt":0,"error":"rpc error: code = ResourceExhausted desc = etcdserver: mvcc: database space exceeded"} ``` The reasons were 2 fold: - Interceptors were copying logger before "WithLogger" could modify it. - We were not propagating the loggers in a few testing contexts. 29 April 2021, 10:57:09 UTC
586b238 etcdctl/ctlv3: Cleanup keys on signal interrupt of check perf If ctc+c is pressed during the run of etcdctl check perf, this deletes all the previously created keys that perf check created. 29 April 2021, 10:55:36 UTC
1145c57 server: replace mlockall with `Mlock` in `--experimental-memory-mlock` Implementation of `--experimental-memory-mlock` backed by `mlockall` syscall is replaced by `Mlock` flag (backed by mlock syscall) of bboltDB. 29 April 2021, 10:08:52 UTC
927b3a3 server: replace mlockall with `Mlock` in `--experimental-memory-mlock` Implementation of `--experimental-memory-mlock` backed by `mlockall` syscall is replaced by `Mlock` flag (backed by mlock syscall) of bboltDB. 29 April 2021, 10:08:20 UTC
e90504f Unify shared code (and constants) with cindex package. 29 April 2021, 09:51:25 UTC
f53b70f Embed: In case KVStoreHash verification fails, close the backend. In case of failed verification, the server used to keep opened backend (so the file was locked on OS level). 29 April 2021, 09:51:25 UTC
2ad893b Integrate verification into e2e tests. 29 April 2021, 09:51:24 UTC
911204c Fix `ETCDCTL_API=2 etcdctl backup --with-v3` consistent index consistency Prior to this CL, `ETCDCTL_API=2 etcdctl backup --with-v3` was readacting WAL log (by removal of some entries), but was NOT updating consistent_index in the backend. Also the WAL editing logic was buggy, as it didn't took in consideration the fact that when TERM changes, there can be entries with duplicated indexes in the log. So its NOT sufficient to subtract number of removed entries to get accurate log indexes. The PR replaces removing and shifting of WAL entries with replacing them with an no-op entries. Thanks to this consistent-index references are staying up to date. The PR also: - updates 'verification' logic to check whether consistent_index does not lag befor last snapshot - env-gated execution of verification framework in `etcdctl backup`. Tested with: ``` (./build.sh && cd tests && EXPECT_DEBUG=TRUE 'env' 'go' 'test' '-timeout=300m' 'go.etcd.io/etcd/tests/v3/e2e' -run=TestCtlV2Backup --count=1000 2>&1 | tee TestCtlV2BackupV3.log) ``` 29 April 2021, 09:51:24 UTC
adc365e etcdctl2: backup command logging cleanup (zap) 28 April 2021, 21:26:17 UTC
8d8d037 server: applier uses ReadTx instead of ConcurrentTx 28 April 2021, 18:06:24 UTC
ed4a87d Merge pull request #12901 from ptabor/20210427-verification Verification of persisted data 28 April 2021, 06:45:15 UTC
7107cb9 fixup! Create 'datadir' package responsible for paths. 28 April 2021, 06:44:06 UTC
c4b13a5 Integrate verification framework Verification framework is integrated with: - integration tests (by default) - `ETCD_VERIFY=all etcdctl snapshot restore` command - etcd shutdown when running with `ETCD_VERIFY=all` env. 28 April 2021, 05:56:16 UTC
47b28b6 Verification package: Verified given data-dir. For now verifies whete Backend.cindex is consistent with WAL log, but should get expanded to cover memberships & revisions. 28 April 2021, 05:56:15 UTC
6f8f506 Create 'datadir' package responsible for paths. 28 April 2021, 05:56:13 UTC
d2722ff Merge pull request #12820 from ptabor/20210326-membership-from-be (no)StoreV2 (Part 2): Prepare to read membership information from backend 28 April 2021, 05:53:42 UTC
0675219 v2 etcdctl backup: producing consistent state of membership 27 April 2021, 17:34:34 UTC
a70386a Simplify membership interface: Does not pass the 'unused' token. 27 April 2021, 15:17:31 UTC
4725567 e2e tests: More logging and expect adopted to 3.4. 27 April 2021, 15:17:31 UTC
7ae3d25 Membership: Add additional methods to trim/manage membership data in backend. 27 April 2021, 15:17:31 UTC
aa65973 etcd-dump-logs: Print full confState as json for debugging purposes. 27 April 2021, 15:17:31 UTC
768da49 sever: v2store deprecation: Fix `etcdctl snapshot restore` to restore correct 'backend' (bbolt) context in aspect of membership. Prior to this change the 'restored' backend used to still contain: - old memberid (mvcc deletion used, why the membership is in bolt bucket, but not mvcc part): ``` mvs := mvcc.NewStore(s.lg, be, lessor, ci, mvcc.StoreConfig{CompactionBatchLimit: math.MaxInt32}) defer mvs.Close() txn := mvs.Write(traceutil.TODO()) btx := be.BatchTx() del := func(k, v []byte) error { txn.DeleteRange(k, nil) return nil } // delete stored members from old cluster since using new members btx.UnsafeForEach([]byte("members"), del) ``` - didn't get new members added. 27 April 2021, 15:17:30 UTC
06d6f09 Merge pull request #12894 from MakDon/patch-1 etcdserver/mvcc: update tw.trace.Step condition 27 April 2021, 07:19:10 UTC
c4f7d57 Merge pull request #12898 from tangcong/add-disk-io-failure-case functional: add disk io failure case 26 April 2021, 21:37:53 UTC
4fb2209 functional: add SHORT_TTL_LEASE_EXPIRE checker 26 April 2021, 12:00:45 UTC
16e38e4 functional: add FAILPOINTS_WITH_DISK_IO_LATENCY case 26 April 2021, 04:07:05 UTC
370f9cf fix: failed to get failpoints from member 26 April 2021, 03:44:53 UTC
ddcb463 etcdserver/mvcc: update trace.Step condition 25 April 2021, 15:07:45 UTC
9a3aff6 Merge pull request #12889 from ptabor/20210423-deflake-TestFirstCommitNotification Deflake: TestFirstCommitNotification 23 April 2021, 12:55:44 UTC
9f55977 Deflake: TestFirstCommitNotification Infrequently the test flaked. Reproducable with: ``` go test go.etcd.io/etcd/tests/v3/integration --run TestFirstCommitNotification --count=500 ``` The moveLeader finishes when configchange is commited by quorum. It doesn't guarantee that the 'empty' record was committed by the new leader. From time to time happened that appliedLeaderIndex was returning 9 (without empty entry) and the test flaked. In healthy case the appliedIndex returned 10. Fixed by putting kv pair after leader change. The pair is guaranteed to be stored on index when put finishes (so the empty entry as well). 23 April 2021, 11:22:15 UTC
bd4f8e2 Merge pull request #12885 from ptabor/20210422-error-codes-context Errors: `context cancelled` or `context deadline exceeded` are exposed as codes.Canceled, codes.DeadlineExceeded instead of 'codes.Unknown' 22 April 2021, 22:45:59 UTC
9a4b2bd Errors: `context cancelled` or `context deadline exceeded` are exposed as codes.Canceled, codes.DeadlineExceeded instead of 'codes.Unknown' 22 April 2021, 12:35:24 UTC
cc52d99 Merge pull request #12883 from ptabor/20210421-backend-refactor-testing mvcc/backend tests: Refactor: Do not mix testing&prod code. 21 April 2021, 10:29:01 UTC
d7d110b mvcc/backend tests: Refactor: Do not mix testing&prod code. 21 April 2021, 07:43:13 UTC
ea287dd Merge pull request #12854 from ptabor/20210410-shouldApplyV3 (no)StoreV2 (Part 3): Applying consistency fix: ClusterVersionSet (and co) might get not applied on v2store 21 April 2021, 07:31:38 UTC
ce3dae6 Merge pull request #12873 from ptabor/20210417-test-docker-gcloud Makefile: Use `gcloud auth configure-docker` instead of `gcloud docker ...` for test-images 21 April 2021, 07:30:02 UTC
0f2c940 Merge pull request #12880 from chaochn47/exclude_alarms_from_health_check etcdhttp/metrics.go: exclude alarms from health check conditionally with `?exclude=NOSPACE` 21 April 2021, 01:18:15 UTC
b321c48 Update CHANGELOG-3.5.md 20 April 2021, 20:17:26 UTC
140ea4f etcdhttp/metrics.go: exclude alarms from health check conditionally with ?exclude=NOSPACE 20 April 2021, 20:17:09 UTC
8162d9c Merge pull request #12876 from qsyqian/branch_management_link doc: fix branch management link 19 April 2021, 21:08:42 UTC
334e696 Merge pull request #12878 from lilic/fix-docker-release Makefile, build.sh: Fix build process 19 April 2021, 17:12:42 UTC
51c28fc build.sh: Adjust building etcdctl to be same as etcd binary This fixes so that the ENV vars are taken in the same way as for etcd binary. 19 April 2021, 15:51:46 UTC
81652d1 Makefile: Fix build-docker-release-master Since the Dockerfile files are now per arch, this adjusts to detect ARCH and builds docker release from the Dockerfile.<ARCH> file. 19 April 2021, 15:47:03 UTC
11249fd Merge pull request #12874 from ptabor/20210417-go1.16.3 Update go for 3.5: 1.15.x -> 1.16.3 19 April 2021, 14:51:49 UTC
3423a94 Update go for 3.5: 1.15 -> 1.16.(3). https://github.com/etcd-io/etcd/issues/12732 19 April 2021, 14:50:54 UTC
2cbd86b doc: fix branch management link Fixes #12875 19 April 2021, 07:25:19 UTC
2f77a1a Merge pull request #12864 from ssbostan/master client: fix check datascale command for https endpoints 18 April 2021, 15:44:07 UTC
06ba0fc Merge pull request #12846 from pyiyun/fix-snaptmpfile-bug etcdserver: remove temp files in snap dir when etcdserver starting 17 April 2021, 10:58:46 UTC
5ad8880 Makefile: Use gcloud auth configure-docker instead of gcloud docker. 17 April 2021, 10:11:09 UTC
97a8aff fix util.go file 17 April 2021, 09:54:56 UTC
80586c5 etcdserver/util.go: reduce memory when logging range requests (#12871) * etcdserver/util.go: reduce memory when logging range requests Fixes #12835 * Update CHANGELOG-3.5.md 16 April 2021, 23:39:34 UTC
5744cdf Merge pull request #12870 from ptabor/20210416-fix-flake-TestSnapshotV3RestoreMultiMemberAdd-master Fix TestSnapshotV3RestoreMultiMemberAdd flakes (leaks) 16 April 2021, 19:49:46 UTC
17b9823 Fix TestSnapshotV3RestoreMultiMemberAdd flakes (leaks) - most important: unix's socket transport should not keep idle connections. For top-level Transport we close them using: https://github.com/etcd-io/etcd/blob/f3c518025e284d3d070a63d5969c69176f247b33/server/etcdserver/api/rafthttp/transport.go#L226 but currently we don't have access to close them witing the nest (unix) transport. Short idle deadline is good enough. - Use dialContext (instead of dial) to make sure context is passed down the stack - Make sure Context is cancelled as soon as the operation is done in pipeline - nit: use dedicated method to yeld goroutines. Tested with: ``` d=$(date +"%Y%m%d_%H%M") (cd tests && go test --timeout=60m ./integration/snapshot -run TestSnapshotV3RestoreMultiMemberAdd -v --count=180 2>&1 | tee log_${d}.log) ``` There were transports & cmux leaked: ``` leak.go:118: Test appears to have leaked a Transport: internal/poll.runtime_pollWait(0x7f6c5c3784c8, 0x72, 0xffffffffffffffff) /usr/lib/google-golang/src/runtime/netpoll.go:222 +0x55 internal/poll.(*pollDesc).wait(0xc003296298, 0x72, 0x0, 0x18, 0xffffffffffffffff) /usr/lib/google-golang/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/lib/google-golang/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc003296280, 0xc0031f60a8, 0x18, 0x18, 0x0, 0x0, 0x0) /usr/lib/google-golang/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc003296280, 0xc0031f60a8, 0x18, 0x18, 0x18, 0xc0009056e2, 0x203000) /usr/lib/google-golang/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc000010258, 0xc0031f60a8, 0x18, 0x18, 0x0, 0x0, 0x0) /usr/lib/google-golang/src/net/net.go:183 +0x91 github.com/soheilhy/cmux.(*bufferedReader).Read(0xc0003d24e0, 0xc0031f60a8, 0x18, 0x18, 0xc0003d24d0, 0xc0009056e2, 0xc000278400) /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/buffer.go:53 +0x12d github.com/soheilhy/cmux.hasHTTP2Preface(0x1367e20, 0xc0003d24e0, 0x7f6c5c699f40) /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/matchers.go:195 +0x8a github.com/soheilhy/cmux.matchersToMatchWriters.func1(0x7f6c5c699f40, 0xc000010258, 0x1367e20, 0xc0003d24e0, 0xc000010258) /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/cmux.go:128 +0x39 github.com/soheilhy/cmux.(*cMux).serve(0xc003228690, 0x138c410, 0xc000010258, 0xc00327f740, 0xc0059ba860) /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/cmux.go:192 +0x1e7 created by github.com/soheilhy/cmux.(*cMux).Serve /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/cmux.go:179 +0x191 internal/poll.runtime_pollWait(0x7f6c5c60f3f0, 0x72, 0xffffffffffffffff) /usr/lib/google-golang/src/runtime/netpoll.go:222 +0x55 internal/poll.(*pollDesc).wait(0xc000d53018, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /usr/lib/google-golang/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/lib/google-golang/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc000d53000, 0xc000cfd000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/google-golang/src/internal/poll/fd_unix.go:166 +0x1d5 net.(*netFD).Read(0xc000d53000, 0xc000cfd000, 0x1000, 0x1000, 0x3, 0x3, 0x1000000000001) /usr/lib/google-golang/src/net/fd_posix.go:55 +0x4f net.(*conn).Read(0xc00031a570, 0xc000cfd000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/google-golang/src/net/net.go:183 +0x91 net/http.(*persistConn).Read(0xc00093b320, 0xc000cfd000, 0x1000, 0x1000, 0x577750, 0x60, 0x0) /usr/lib/google-golang/src/net/http/transport.go:1933 +0x77 bufio.(*Reader).fill(0xc005702fc0) /usr/lib/google-golang/src/bufio/bufio.go:101 +0x108 bufio.(*Reader).Peek(0xc005702fc0, 0x1, 0xc00077c660, 0xc003b082a0, 0xc000d08de0, 0x5ae586, 0x11dd6c0) /usr/lib/google-golang/src/bufio/bufio.go:139 +0x4f net/http.(*persistConn).readLoop(0xc00093b320) /usr/lib/google-golang/src/net/http/transport.go:2094 +0x1a8 created by net/http.(*Transport).dialConn /usr/lib/google-golang/src/net/http/transport.go:1754 +0xdaa net/http.(*persistConn).writeLoop(0xc00093b320) /usr/lib/google-golang/src/net/http/transport.go:2393 +0xf7 created by net/http.(*Transport).dialConn /usr/lib/google-golang/src/net/http/transport.go:1755 +0xdcf sync.runtime_Semacquire(0xc0059ba868) /usr/lib/google-golang/src/runtime/sema.go:56 +0x45 sync.(*WaitGroup).Wait(0xc0059ba860) /usr/lib/google-golang/src/sync/waitgroup.go:130 +0x65 github.com/soheilhy/cmux.(*cMux).Serve.func1(0xc003228690, 0xc0059ba860) /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/cmux.go:158 +0x56 github.com/soheilhy/cmux.(*cMux).Serve(0xc003228690, 0x13698c0, 0xc00377a0f0) /home/ptab/private/golang/pkg/mod/github.com/soheilhy/cmux@v0.1.5/cmux.go:173 +0x115 go.etcd.io/etcd/server/v3/embed.(*Etcd).servePeers.func1(0xc0007cc360, 0x122b75f) /home/ptab/corp/etcd/server/embed/etcd.go:518 +0x2b9 go.etcd.io/etcd/server/v3/embed.(*Etcd).servePeers.func3(0xc00036d080, 0xc0059330a0) /home/ptab/corp/etcd/server/embed/etcd.go:549 +0x182 created by go.etcd.io/etcd/server/v3/embed.(*Etcd).servePeers /home/ptab/corp/etcd/server/embed/etcd.go:543 +0x73a --- FAIL: TestSnapshotV3RestoreMultiMemberAdd (17.74s) ``` 16 April 2021, 18:17:28 UTC
28a490b etcdserver: remove temp files in snap dir when etcdServer starting When etcd exits abnormally, tmp files will remain in snap dir, so clean up tmp files in snap dir when etcdserver starting. Fixes #12837 16 April 2021, 12:30:04 UTC
a9c4301 fix check datascale command for https endpoints 15 April 2021, 23:21:04 UTC
f3c5180 Merge pull request #12861 from ptabor/20210413-test-logging-fixes Embedded server should not mess global loggers (by default) 15 April 2021, 22:07:35 UTC
b47c5fc Address review comments a.d. logging. 15 April 2021, 15:54:37 UTC
c73da74 Merge pull request #12862 from lilic/enable-race .travis.yaml: Enables race in the tests 15 April 2021, 15:37:03 UTC
2843fde .travis.yaml: Enables race in the tests As the TestV3WatchRestoreSnapshotUnsync flakiness was fixed, this removes the TODO and enables the race again. 15 April 2021, 12:32:52 UTC
fad6391 Configure proper logging for grpc integration tests. 14 April 2021, 10:47:38 UTC
d72f7ef Give control to Embedded servers whether they override global loggers So far each instance of embed server was overriding the grpc loggers and zap.global loggers. It's counter intutitive that last created Embedded server was 'wining' and more-over it was breaking grpc expectation to change it "only" before the grpc stack is being used. This PR introduces explicit call: `embed.Config::SetupGlobalLoggers()`, that changes the loggers where requested. The call is used by etcd main binary. The immediate benefit from this change is reduction of test flakiness, as there were flakes due to not a proper logger being used across tests. 14 April 2021, 10:47:38 UTC
eafbc8c Update zap logging dependency. In particular bring up zapgrpc V2 code: https://github.com/uber-go/zap/commit/89e382035d3a984a01e6c9c8be5462f11efac844 https://pkg.go.dev/google.golang.org/grpc/grpclog#LoggerV2 14 April 2021, 10:15:48 UTC
57a092b Merge pull request #12859 from tomwilkie/fix-mixin Fix the mixin. 13 April 2021, 21:05:52 UTC
d69e46e Make ShouldApplyV3 an enum - not bool 13 April 2021, 21:01:03 UTC
562d645 Fix the mixin. Signed-off-by: Tom Wilkie <tom@grafana.com> 13 April 2021, 18:38:55 UTC
4388bfc Merge pull request #12858 from hnlq715/patch-1 client: fix doc typo 13 April 2021, 15:33:43 UTC
5db0070 Update doc.go 13 April 2021, 14:22:42 UTC
d7e971e client: fix doc typo 13 April 2021, 08:33:24 UTC
b1c04ce Applying consistency fix: ClusterVersionSet (and co) might get no applied on v2store ClusterVersionSet, ClusterMemberAttrSet, DowngradeInfoSet functions are writing both to V2store and backend. Prior this CL there were in a branch not executed if shouldApplyV3 was false, e.g. during restore when Backend is up-to-date (has high consistency-index) while v2store requires replay from WAL log. The most serious consequence of this bug was that v2store after restore could have different index (revision) than the same exact store before restore, so potentially different content between replicas. Also this change is supressing double-applying of Membership (ClusterConfig) changes on Backend (store v3) - that lackilly are not part of MVCC/KeyValue store, so they didn't caused Revisions to be bumped. Inspired by jingyih@ comment: https://github.com/etcd-io/etcd/pull/12820#issuecomment-815299406 12 April 2021, 07:43:48 UTC
7f97dfd Merge pull request #12795 from wpedrak/resend-read-index-on-first-commit-in-term etcdserver: resend ReadIndex request on empty apply request 09 April 2021, 14:41:54 UTC
08ea9cb etcdserver: integration test covering first commit in current term notification 09 April 2021, 14:05:02 UTC
3991a8c etcdserver: replace `forceVersionC` with `FirstCommitInTermNotify` 09 April 2021, 09:30:42 UTC
3d485fa etcdserver: resend ReadIndex request on empty apply request Empty apply indicates first commit in current term. It is first time when follower is sure, that it's ReadIndex request can be processed. 09 April 2021, 09:30:42 UTC
bad0b4d Merge pull request #12823 from mtulio/chore/dash-var-refresh chore/dash-var-refresh: change default refresh to 2(time range) 08 April 2021, 13:14:53 UTC
back to top