[ 
https://issues.apache.org/jira/browse/HDDS-12071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sammi Chen updated HDDS-12071:
------------------------------
    Summary: Delete dumped sst *.data files after container is replicated on 
source datanode  (was: Delete dumped sst *.data files after container is 
replicated )

> Delete dumped sst *.data files after container is replicated on source 
> datanode
> -------------------------------------------------------------------------------
>
>                 Key: HDDS-12071
>                 URL: https://issues.apache.org/jira/browse/HDDS-12071
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Sammi Chen
>            Priority: Major
>
> For container schema V3, the metadata of a pending replicated container are 
> dumped to *.data files under it's metadata/db/ directory.  The *.data files 
> will be packed into container tar package and sent to destination datanode.  
> On the destination datanode, the tar package will be untared, and the *.data 
> files will be read and loaded into data volume's rocksdb. After the container 
> is imported successfully, the *.data files will be deleted on destination 
> datanode container directory.  While these files are still kept on the source 
> datanode container directory.  There is no harm of this behavior, for the 
> next time, these *.data files will be deleted and new *.data files will be 
> created if this container need be replicated again. 
> This task aims to delete the *.data files on source datanode to release the 
> disk space as soon as possible. 



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

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

Reply via email to