-
Notifications
You must be signed in to change notification settings - Fork 719
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
tso: add basic election logic for Local TSO Allocator #2894
Conversation
5aa161c
to
7a8b94b
Compare
Signed-off-by: JmPotato <[email protected]>
7a8b94b
to
9e14be4
Compare
Signed-off-by: JmPotato <[email protected]>
56afa82
to
3bbf035
Compare
Signed-off-by: JmPotato <[email protected]>
Would you like to add more tests about how mixed TSO allocators work? |
It's on the plan. I thought this pr is huge enough to review, so I didn't take the tests with it. As you request, maybe I should add them? |
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.
The rest LGTM
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
Signed-off-by: JmPotato <[email protected]>
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.
rest LGTM
Signed-off-by: JmPotato <[email protected]>
/run-all-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.
LGTM
/run-integration-lightning-test |
/merge |
/run-all-tests |
Signed-off-by: JmPotato [email protected]
What problem does this PR solve?
Part of #2759. Add basic election logic for Local TSO Allocator.
What is changed and how it works?
Use a similar logic with
leaderLoop
in server/server.go.Check List
Tests
Release note