swamirishi commented on code in PR #7193:
URL: https://github.com/apache/ozone/pull/7193#discussion_r1773679263
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/SnapshotDirectoryCleaningService.java:
##########
@@ -143,11 +144,11 @@ public BackgroundTaskResult call() {
<String, SnapshotInfo>> iterator = snapshotInfoTable.iterator()) {
while (iterator.hasNext()) {
- SnapshotInfo currSnapInfo = iterator.next().getValue();
+ SnapshotInfo currSnapInfo =
snapshotInfoTable.get(iterator.next().getKey());
Review Comment:
This picks out snapshotInfo from cache instead of the rocksdb table.
--
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]