Skip to content
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

HDDS-6894. EC: ReplicationManager - Add class to handle under-replication and form a command for a datanode #3542

Merged
merged 18 commits into from Jun 29, 2022

Conversation

umamaheswararao
Copy link
Contributor

What changes were proposed in this pull request?

Added a class to handle the under replication processing and forming the reconstruction command.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-6894

How was this patch tested?

Added the tests.

Copy link
Contributor

@JacksonYao287 JacksonYao287 left a comment

Choose a reason for hiding this comment

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

thanks @umamaheswararao for the patch. i have few comments inline

Copy link
Contributor

@JacksonYao287 JacksonYao287 left a comment

Choose a reason for hiding this comment

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

thanks @umamaheswararao for updating this patch . i have a few comment inline

@adoroszlai adoroszlai added the EC label Jun 28, 2022
Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @umamaheswararao for working on this.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @umamaheswararao for addressing my comments. LGTM, pending CI.

…. Also used decommissiononlyIndexes instead of dueToDecom check
…ded. We should let it go and check decom command as well. They are not exclusive checks now.
Copy link
Contributor

@JacksonYao287 JacksonYao287 left a comment

Choose a reason for hiding this comment

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

thanks @umamaheswararao for updating. i have few comment inline, PTAL!

@JacksonYao287
Copy link
Contributor

LGTM +1! pending clean CI

…rate API. Which should cover LegacyRM as well.
Copy link
Contributor

@sodonnel sodonnel left a comment

Choose a reason for hiding this comment

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

LGTM

@umamaheswararao umamaheswararao merged commit 6537056 into apache:master Jun 29, 2022
@umamaheswararao
Copy link
Contributor Author

Thanks @sodonnel @adoroszlai @JacksonYao287 for the great reviews.

duongkame pushed a commit to duongkame/ozone that referenced this pull request Aug 16, 2022
HDDS-6894. EC: ReplicationManager - Add class to handle under-replication and form a command for a datanode (apache#3542)

(cherry picked from commit 6537056)
Change-Id: I8153852674fb54e838d71cc5dd4a452611528b2c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants