aswinshakil opened a new pull request, #8863:
URL: https://github.com/apache/ozone/pull/8863

   ## What changes were proposed in this pull request?
   
   Currently the container scanner rebuilds the merkle tree based only on what 
it sees on disk. This will cause the data checksum to change when blocks are 
deleted, which is not desirable. The scanner should also consult the list of 
deleted blocks already stored in the checksum file and add those to the tree it 
generates.
   
   Also when reconciling, if a peer has marked a block as deleted and we have 
not, but we also don't have the block, we need to add that block and its 
checksum to our deleted block list.
   
   - This allows checksums to converge for containers that had blocks deleted 
before upgrading to reconciliation.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13245
   
   ## How was this patch tested?
   
   Added UT and Integration tests. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to