Swaminathan Balachandran created HDDS-12166:
-----------------------------------------------

             Summary: Mark OPEN/CLOSING Containers as unhealthy on DN startup 
when Raft group directory is not present corresponding to the container
                 Key: HDDS-12166
                 URL: https://issues.apache.org/jira/browse/HDDS-12166
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Swaminathan Balachandran
            Assignee: Swaminathan Balachandran


When Raft group directory(DN Pipeline) is missing in a datanode on start up, 
the Raft server is not aware of the DN being part of a pipeline. Containers in 
OPEN/CLOSING state belonging to such containers should be moved UNHEALTHY state 
in such scenarios instead of CLOSED or QUASI_CLOSED state. QUASI_CLOSED state 
means that the DN raft server has applied all the transactions in it's raft 
log, but in this case since the DN doesn't apply raft log, all container 
replica corresponding to the pipeline is unhealthy it might not have all the 
transactions flushed.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to