-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
session: fix the duplicate binding case when updating bind info #22367
Conversation
/label needs-cherry-pick-4.0, sig/planner, needs-cherry-pick-5.0-rc |
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
/rebuild |
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
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #22368 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.0-rc in PR #22369 |
…) (#22368) Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
Issue Number: close #22309
Problem Summary:
This PR will fix the duplicate binding case when updating bind info
New update method used.
We will read all bindings in the memory first. Then remove the duplicate bindings and keep only the latest. Finally, insert bindings after restoring with DB.
Related changes
Check List
Tests
Side effects
Release note