Stephen O'Donnell created HDDS-12483:
----------------------------------------

             Summary: Quasi Closed Stuck should have 2 replicas of each origin
                 Key: HDDS-12483
                 URL: https://issues.apache.org/jira/browse/HDDS-12483
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: SCM
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


After the change to ensure Quasi Closed replicas only move to CLOSED when all 3 
origin are present, some new edge cases appeared where some replicas do not get 
full replication.

After some discussion we decided on the following for Quasi Closed Stuck 
containers:

1. If there is only 1 origin available, create 3 copies of it.

2. If there are 2 or more origins, maintain 2 copies of each origin.

In the worse case, which is:

Origin: 1, bcsid:10, State: Quasi_Closed
Origin: 2, bcsid:10, State: Quasi_Closed
Origin: 3, bcsid:11, State: Unhealthy

This cannot move to closed as the highest BCSID is unhealthy, so 6 replicas 
will be maintained in the system - 2 from each origin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to