ChenSammi commented on code in PR #6530:
URL: https://github.com/apache/ozone/pull/6530#discussion_r1582624089


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -1849,7 +1849,7 @@ public ExpiredOpenKeys getExpiredOpenKeys(Duration 
expireThreshold,
             final KeyArgs.Builder keyArgs = KeyArgs.newBuilder()
                 .setVolumeName(info.getVolumeName())
                 .setBucketName(info.getBucketName())
-                .setKeyName(info.getKeyName())
+                .setKeyName(openKeyInfo.getKeyName())

Review Comment:
   Please a comment here, explain why use openKeyInfo.getKeyName() instead of 
info.getKeyName.



-- 
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]

Reply via email to