Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

feat(nodes-migrator 4/4): implement the migrate task submit #53

Merged
merged 6 commits into from
Oct 11, 2021

Conversation

foreverneverer
Copy link
Contributor

No description provided.

@foreverneverer foreverneverer changed the title feat(nodes-migrator 4/4): add the nodes-migrator action funtion refact(nodes-migrator ): update the node info to local variable Oct 8, 2021
@foreverneverer foreverneverer changed the title refact(nodes-migrator ): update the node info to local variable refactor(nodes-migrator ): update the node info to local variable Oct 8, 2021
@foreverneverer foreverneverer changed the title refactor(nodes-migrator ): update the node info to local variable feat(nodes-migrator 4/4): implement the migrate task submit Oct 11, 2021
}()

for _, action := range acts.actionList {
if action.replica.gpid.String() == currentAction.replica.gpid.String() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if action.replica.gpid.String() == currentAction.replica.gpid.String() && action.to.node.String() == currentAction.to.node.String() {
return true;
}

@levy5307 levy5307 merged commit 21b32e2 into pegasus-kv:main Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants