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

   ## What changes were proposed in this pull request?
   
   When a schema V3 container failed to be imported, three resource will be 
cleaned up,
   
   a. the potential still existed downloaded *.tar file on volume's 
tmp/container-copy/ directory
   b. the imported container metadata in RocksDB
   c. the potential existed $containerID directory on data volume.
   
   Currently, the clean up order is a -> b -> c.
   Given that during Datanode startup, only a missing or incorrect 
container.yaml file will get the container be skip to be loaded by datanode, we 
should first make sure container.yaml file is inaccessible to datanode after 
the container import is failed.
   
   This task aims to change the clean up order to a -> c -> b.
   
   
   ## What is the link to the Apache JIRA
   [HDDS-12323](https://issues.apache.org/jira/browse/HDDS-12323) 
   
   ## How was this patch tested?
   new uint 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