Ethan Rose created HDDS-13083:
---------------------------------

             Summary: Handle cases where block deletion generates tree file 
before scanner
                 Key: HDDS-13083
                 URL: https://issues.apache.org/jira/browse/HDDS-13083
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Ethan Rose


In a cluster upgraded to the first version supporting reconciliation, it is 
likely that block deletion will reach many closed containers before the scanner 
does, which will generate the checksum file with a block delete list but no 
merkle tree. We need to make sure our file parsing code does not raise errors 
if it encounters a checksum file with no merkle tree. We also cannot use file 
existence to indicate the presence of checksum info like 
[here|https://github.com/apache/ozone/blob/56e7ed4824f18f8d681b3570904ac8253d9d375f/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java#L1394].



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