hemantk-12 commented on code in PR #5248:
URL: https://github.com/apache/ozone/pull/5248#discussion_r1317909166
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/snapshot/OMSnapshotPurgeRequest.java:
##########
@@ -103,6 +103,8 @@ public OMClientResponse validateAndUpdateCache(OzoneManager
ozoneManager,
trxnLogIndex, updatedSnapInfos, true);
updateSnapshotChainAndCache(omMetadataManager, fromSnapshot,
trxnLogIndex, updatedPathPreviousAndGlobalSnapshots);
+ ozoneManager.getOmSnapshotManager().getSnapshotCache()
Review Comment:
Can you please add test for it? Could be as simple as checking cache size
after the purge finishes.
--
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]