You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Christos Bisias (Jira)" <ji...@apache.org> on 2023/05/19 17:57:00 UTC

[jira] [Created] (HDDS-8661) Extend Recon's health task to pick up container deletes when container pipeline isn't available

Christos Bisias created HDDS-8661:
-------------------------------------

             Summary: Extend Recon's health task to pick up container deletes when container pipeline isn't available
                 Key: HDDS-8661
                 URL: https://issues.apache.org/jira/browse/HDDS-8661
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Christos Bisias
            Assignee: Christos Bisias


Subtask of [HDDS-8538|https://issues.apache.org/jira/browse/HDDS-8538].

When a datanode dies and their containers go missing, calling {color:#00875a}getContainerWithPipeline() {color:#172b4d}always results in an exception while the pipeline isn't available. In case of dead datanodes, we should be using {color:#00875a}getContainer() {color:#172b4d}instead which checks only the SCM and if the container doesn't exist, throws an exception. {color}{color}{color}{color}

When cleaning up missing containers, their datanodes aren't available and the containers will be only deleted from the SCM. Recon's health task should pick up the change and remove the container from its tables.

After trying to get a container along with a pipeline, also check just the SCM.

 

design doc: [Ozone Missing Container Cleanup|https://docs.google.com/document/d/1J_0D9bTCmpgqR82MYtLv9bbdrZYNB_PJdxFbgCLhUEQ/edit#]



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

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