Revision c4ebac0c5744591c4ab532d626efeb808d97e7a2 authored by Piotr Tabor on 18 May 2021, 18:00:55 UTC, committed by Gyuho Lee on 19 May 2021, 06:16:59 UTC
During review of:  https://github.com/etcd-io/etcd/pull/12988 spotted
that PUT is actially writing to v3-backend.
If we are replaying WAL log, it might happened that backend's
applied_index is > than the WAL's log entry. In such situation we should
skip applying on backend V3.
I think both the methods (setVersion, setMembersAttributes) are in
practice idempotent so its not that 'serious' problem, but for
formal correctness adding the proper checks.
1 parent 379c361
History
File Mode Size
ctlv2
ctlv3
doc
LICENSE -rw-r--r-- 11.1 KB
README.md -rw-r--r-- 41.1 KB
READMEv2.md -rw-r--r-- 7.7 KB
go.mod -rw-r--r-- 1.2 KB
go.sum -rw-r--r-- 49.9 KB
main.go -rw-r--r-- 1.7 KB
main_test.go -rw-r--r-- 1.6 KB

README.md

back to top