This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 188
HA: refactor unlock-ddl-lock and break-ddl-lock #522
Merged
Merged
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
75418cd
*: delete shard DDL info only when it exist
csuzhangxc 83877b6
*: base implement of `unlock-ddl-lock`
csuzhangxc c939b6c
*: forceRemove support; add more test case
csuzhangxc e815784
shardddl: add test case for replace owner.
csuzhangxc a94a408
*: use the new unlock-ddl-lock implement
csuzhangxc b54d2bb
shardddl: fix support for re-entrant of source; add test case
csuzhangxc be86bd9
*: remove `break-ddl-lock` because it not needed now.
csuzhangxc a421297
tests: fix dmctl_command
csuzhangxc 03479c5
shardddl: address comments
csuzhangxc 642050c
Merge remote-tracking branch 'remotes/origin/master' into pessimistic…
csuzhangxc ba64562
Update dm/ctl/master/unlock_ddl_lock.go
csuzhangxc 1ddb439
syncer: address comments
csuzhangxc 95f24aa
Merge remote-tracking branch 'origin/pessimistic-lock' into pessimist…
csuzhangxc 659648e
Merge branch 'master' into pessimistic-lock
csuzhangxc 0ca40eb
Merge branch 'master' into pessimistic-lock
lichunzhu bdab79e
pessimism: fix merge
csuzhangxc 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 was deleted.
Oops, something went wrong.
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.
if start pessimist failed, do we need close scheduler and skip set leader in L71?
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.
I think we need a mechanism to transfer leader role to another DM-master member when any necessary components (pessimist and scheduler in currenlty) started fail 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.
and close the pessimist
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.
ok, we can do this 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.
@lichunzhu you can open a issue to trace
leader transfer support
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.
OK