(*batchTx) UnsafeDelete
may break the linearizability
#17158
Labels
backport/v3.4
backport/v3.5
help wanted
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
type/bug
Bug report criteria
What happened?
TL; DR
(*batchTx) UnsafeDelete
may break the linearizability. etcd may still read stale data when during applying a request if previous applying process includes(*batchTx) UnsafeDelete
request(s).Root cause
Please refer to
TestRangeAfterDeleteMatch
in Reproduce readTxn breaks read commited on delete #17124Solution
The PR should contains the following content/commits,
ErrUserAlreadyExist
error.TestRangeAfterDeleteMatch
in Reproduce readTxn breaks read commited on delete #17124;Backport
The fix should be backported to both 3.5 and. 3.4
What did you expect to happen?
Ensure linearizability on any deletion operations.
How can we reproduce it (as minimally and precisely as possible)?
See above
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: