GeorgeJahad commented on code in PR #5215:
URL: https://github.com/apache/ozone/pull/5215#discussion_r1311021901
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServlet.java:
##########
@@ -159,11 +159,18 @@ public void writeDbDataToStream(DBCheckpoint checkpoint,
archiveOutputStream
.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX);
// Files to be excluded from tarball
- Set<Path> toExcludeFiles = normalizeExcludeList(toExcludeList,
- checkpoint.getCheckpointLocation());
+ RocksDBCheckpointDiffer differ =
+ getDbStore().getRocksDBCheckpointDiffer();
+ DirectoryData sstBackupDir = new DirectoryData(tmpdir,
+ differ.getSSTBackupDir());
+ DirectoryData compactionLogDir = new DirectoryData(tmpdir,
+ differ.getCompactionLogDir());
+
+ Map<Path, Path> toExcludeFiles = normalizeExcludeList(toExcludeList,
Review Comment:
I'll change it to sstFilesToExclude.
--
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]