GeorgeJahad commented on code in PR #3980:
URL: https://github.com/apache/ozone/pull/3980#discussion_r1144096098
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/SstFilteringService.java:
##########
@@ -143,9 +144,11 @@ public BackgroundTaskResult call() throws Exception {
String dbName = OM_DB_NAME + snapshotInfo.getCheckpointDirName();
+ String snapshotCheckpointDir = omMetadataDir + OM_KEY_PREFIX +
+ OM_SNAPSHOT_CHECKPOINT_DIR;
RDBStore rdbStore = (RDBStore) OmMetadataManagerImpl
- .loadDB(ozoneManager.getConfiguration(), new File(snapshotDir),
- dbName, true);
+ .loadDB(ozoneManager.getConfiguration(),
+ new File(snapshotCheckpointDir), dbName, true);
RocksDatabase db = rdbStore.getDb();
db.deleteFilesNotMatchingPrefix(prefixPairs, filterFunction);
Review Comment:
added ticket here: https://issues.apache.org/jira/browse/HDDS-8209
--
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]