swamirishi commented on code in PR #8611:
URL: https://github.com/apache/ozone/pull/8611#discussion_r2142817408
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotDeletingServiceIntegrationTest.java:
##########
@@ -414,7 +422,7 @@ public void testSnapshotWithFSO() throws Exception {
client.getObjectStore().deleteSnapshot(VOLUME_NAME, BUCKET_NAME_FSO,
"snap2");
-
+ rcSnap2.close();
Review Comment:
For the snapshot to get purged we have to get write lock.
OmSnapshotManager.get() acquires a read lock. So here we need to explicitly
close references for it to get purged.
--
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]