Ethan Rose created HDDS-8902:
--------------------------------

             Summary: Close open container immediately on ICR of unhealthy 
replica
                 Key: HDDS-8902
                 URL: https://issues.apache.org/jira/browse/HDDS-8902
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Ethan Rose


Currently when a datanode's replica moves from open to unhealthy, it will send 
an ICR to SCM. This is processed on the next run of the SCM replication 
manager, which could be up to 5 minutes by default. In the mean time, SCM will 
continue to send writes to this open container, which will fail at the 
datanode. The unhealthy replica could be handled quicker if the container is 
closed when the unhealthy ICR is processed inĀ 
[AbstractContainerReportHandler#updateState|https://github.com/apache/ozone/blob/0fcfe212e18efc620260f733b14db43e63e2ea08/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/AbstractContainerReportHandler.java#L262]



--
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