Skip to content

HDDS-9593. Replication Manager: Do not count unique origin nodes as over-replicated#5592

Merged
siddhantsangwan merged 1 commit intoapache:masterfrom
sodonnel:HDDS-9593
Nov 27, 2023
Merged

HDDS-9593. Replication Manager: Do not count unique origin nodes as over-replicated#5592
siddhantsangwan merged 1 commit intoapache:masterfrom
sodonnel:HDDS-9593

Conversation

@sodonnel
Copy link
Contributor

What changes were proposed in this pull request?

If a quasi closed container has replicas that are hosted by nodes with unique origins, then don't count them as over replicated because they're all needed.

This change is replicating the change to the Legacy Replication Manager made in HDDS-9489

What is the link to the Apache JIRA

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

How was this patch tested?

New unit tests added

Copy link
Contributor

@siddhantsangwan siddhantsangwan left a comment

Choose a reason for hiding this comment

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

Idea looks good, I have one comment below.

Copy link
Contributor

@siddhantsangwan siddhantsangwan left a comment

Choose a reason for hiding this comment

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

LGTM, @sodonnel thanks for the PR.

@siddhantsangwan siddhantsangwan merged commit 7dcae67 into apache:master Nov 27, 2023
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Feb 1, 2024
…n nodes as over-replicated (apache#5592)

(cherry picked from commit 7dcae67)
Change-Id: Ic0c25ec75916a66974f356d0c509dfd4414dbbe5
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.

3 participants