Sammi Chen created HDDS-12071:
---------------------------------
Summary: Delete dumped sst *.data files after container is
replicated
Key: HDDS-12071
URL: https://issues.apache.org/jira/browse/HDDS-12071
Project: Apache Ozone
Issue Type: Bug
Reporter: Sammi Chen
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]