-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EtcdWorker: fix EtcdWorker snapshot isolation #2510
EtcdWorker: fix EtcdWorker snapshot isolation #2510
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some tests?
8f5a850
to
b3c5d38
Compare
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
/run-integration-tests |
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
/unhold |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: d7127b3
|
/run-integration-tests |
/run-kafka-tests |
In response to a cherrypick label: new pull request created: #2557. |
In response to a cherrypick label: new pull request created: #2558. |
In response to a cherrypick label: new pull request created: #2559. |
In response to a cherrypick label: new pull request created: #2560. |
What problem does this PR solve?
A
is running and trying to create a keyk
,B
andC
creates and deletesk
sequentially.What is changed and how it works?
mod_revision
to check for write-set intersection instead of inequality.deleteCounter
as a key to make deletions impossible to race with other operations.Check List
Tests
Code changes
Side effects
Related changes
Release note