Skip to content

HDDS-14906. Handle possible MoveResult by the MoveManager when running Balancer#10490

Open
sarvekshayr wants to merge 2 commits into
apache:masterfrom
sarvekshayr:HDDS-14906
Open

HDDS-14906. Handle possible MoveResult by the MoveManager when running Balancer#10490
sarvekshayr wants to merge 2 commits into
apache:masterfrom
sarvekshayr:HDDS-14906

Conversation

@sarvekshayr

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

If move fails because of FAIL_CONTAINER_ALREADY_BEING_MOVED or REPLICATION_NOT_HEALTHY_AFTER_MOVE, add the source datanode back to queue. REPLICATION_NOT_HEALTHY_AFTER_MOVE should also exclude the container.

What is the link to the Apache JIRA

HDDS-14906

How was this patch tested?

Added a test in TestContainerBalancerTask.

@sreejasahithi sreejasahithi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @sarvekshayr for the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants