guihecheng opened a new pull request, #3398: URL: https://github.com/apache/ozone/pull/3398
## What changes were proposed in this pull request? New container replication operations for schema v3 container. After rocksdb merge, all container metadata all resides in a single db instance, so we can't just export the container by tar the container directory into a tarball and send it over, we have to extract the metadata that belong to the container to be replicated and include them in the tarball. After the target DN received the tarball, it should pay attention to import those metadata files into the local db instance. Rocksdb provides facilities to dump and import range KVs with sst files: SstFileWriter ingestExternalFile FYI: https://github.com/facebook/rocksdb/wiki/Creating-and-Ingesting-SST-files ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6544 ## How was this patch tested? Extended container import & export UTs. New UTs for rocksdb dump & load. -- 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]
