-
Notifications
You must be signed in to change notification settings - Fork 728
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
pdms: support primary/transfer api for scheduling and tso #8157
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7fa19d3
check primary
HuSharp 1f13fa2
make test happy
HuSharp af995cc
address comment and add test
HuSharp 8d36be5
only trigger by updating
HuSharp 2433f0c
change log
HuSharp dd72b9c
address comment
HuSharp a39300e
change to name
HuSharp 51708b5
make test happy
HuSharp c6d2bc3
address comment and change some comments
HuSharp a4c5c29
add more test
HuSharp 4d0598f
merge master
HuSharp 6ac311f
Merge branch 'master' into support_transfer_primary2
HuSharp 510b92a
Merge branch 'master' into support_transfer_primary2
HuSharp b235bc1
address comment and add more comment
HuSharp f659782
add more comment
HuSharp 32b0b5f
Merge branch 'master' into support_transfer_primary2
HuSharp dbc5447
Merge branch 'master' into support_transfer_primary2
HuSharp 204ffd5
address comment
HuSharp ec8e737
remove redundant wait
HuSharp 9e3b798
Merge branch 'master' into support_transfer_primary2
ti-chi-bot[bot] e53844e
Merge branch 'master' into support_transfer_primary2
ti-chi-bot[bot] cc82e7b
Merge branch 'master' into support_transfer_primary2
ti-chi-bot[bot] 19ce9d8
Merge branch 'master' into support_transfer_primary2
ti-chi-bot[bot] 4c7f8ac
changed by name
HuSharp 36b5a82
refine code
HuSharp ea8d9e3
address comment
HuSharp ffb7b1b
refine code
HuSharp 379b1f6
merge master
HuSharp d9bffb8
Merge branch 'master' into support_transfer_primary2
HuSharp d037a6a
remove delete
HuSharp e711fd9
refine purpose and lease
HuSharp d999c7f
merge master
HuSharp 7f0a426
refine code
HuSharp d810ed1
address comment
HuSharp 43830ec
non-essential exported
HuSharp 2d9a3b0
refine check name
HuSharp c1da5b5
Merge branch 'master' into support_transfer_primary2
ti-chi-bot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Shall we need a default name?
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.
default name set by this code, which is like
TSO-localhost
pd/pkg/mcs/tso/server/config.go
Lines 185 to 195 in a39300e
And your commented snippet is for testing to avoid using the same name for the same machine for local testing, I used addr here
pd/tests/testutil.go
Lines 87 to 88 in 51708b5
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.
got