-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
raftstore: block in-memory pessimistic locks during the flashback #14859
Conversation
Signed-off-by: JmPotato <[email protected]>
[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. |
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.
Rest LGTM
components/raftstore-v2/src/operation/command/admin/flashback.rs
Outdated
Show resolved
Hide resolved
Signed-off-by: JmPotato <[email protected]>
Signed-off-by: JmPotato <[email protected]>
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.
LGTM!
@HuSharp: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/test |
/merge |
@overvenus: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 424cae0
|
In response to a cherrypick label: new pull request created to branch |
ref tikv#13303, close pingcap/tidb#44292 Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created to branch |
ref tikv#13303, close pingcap/tidb#44292 Signed-off-by: ti-chi-bot <[email protected]>
…4859) (#14861) ref #13303, ref #14859, close pingcap/tidb#44292 During the Flashback process, we should prevent any read or write operations on the in-memory pessimistic lock table and clear it like rolling back other locks to ensure that Flashback can proceed smoothly. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: JmPotato <[email protected]> Co-authored-by: JmPotato <[email protected]>
…4859) (#14862) ref #13303, ref #14859, close pingcap/tidb#44292 During the Flashback process, we should prevent any read or write operations on the in-memory pessimistic lock table and clear it like rolling back other locks to ensure that Flashback can proceed smoothly. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: JmPotato <[email protected]> Co-authored-by: JmPotato <[email protected]>
…kv#14859) ref tikv#13303, close pingcap/tidb#44292 During the Flashback process, we should prevent any read or write operations on the in-memory pessimistic lock table and clear it like rolling back other locks to ensure that Flashback can proceed smoothly. Signed-off-by: JmPotato <[email protected]> Signed-off-by: tonyxuqqi <[email protected]>
What is changed and how it works?
Issue Number: ref #13303, close pingcap/tidb#44292.
What's Changed:
Check List
Tests
Release note