Skip to content
This repository was 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
levy5307 merged 6 commits into
pegasus-kv:mainfrom
foreverneverer:migrate-node-four
Oct 11, 2021
Merged

levy5307 merged 6 commits into
pegasus-kv:mainfrom
foreverneverer:migrate-node-four

Conversation

@foreverneverer

Copy link
Copy Markdown
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
Copy Markdown
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