hemantk-12 commented on code in PR #6443:
URL: https://github.com/apache/ozone/pull/6443#discussion_r1539949098
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/snapshot/OMSnapshotPurgeResponse.java:
##########
@@ -96,8 +97,9 @@ protected void addToDBBatch(OMMetadataManager
omMetadataManager,
// Delete Snapshot checkpoint directory.
deleteCheckpointDirectory(omMetadataManager, snapshotInfo);
- omMetadataManager.getSnapshotInfoTable().deleteWithBatch(batchOperation,
- dbKey);
+ omMetadataManager.getSnapshotInfoTable().deleteWithBatch(batchOperation,
dbKey);
+ ((OmMetadataManagerImpl) omMetadataManager).getSnapshotChainManager()
+
.deleteSnapshotFromSnapshotIdToTableKey(snapshotInfo.getSnapshotId());
Review Comment:
We can see if we can remove (or revert [this
change](https://github.com/apache/ozone/pull/6443/files#diff-f7f5167f0478b110c9105cc7b88045fa1440396a8dc79931a3d46192f666c957L365-L371))
after https://github.com/apache/ozone/pull/6296.
--
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]