aswinshakil commented on code in PR #4607:
URL: https://github.com/apache/ozone/pull/4607#discussion_r1179475470
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/key/OMKeyRenameResponseWithFSO.java:
##########
@@ -91,20 +91,19 @@ public void addToDBBatch(OMMetadataManager
omMetadataManager,
.deleteWithBatch(batchOperation, getFromKeyName());
omMetadataManager.getKeyTable(getBucketLayout())
.putWithBatch(batchOperation, getToKeyName(), getRenameKeyInfo());
+ }
Review Comment:
I don't think this is a bug. Previously we only kept snapshot checks in the
`else` part as we only tracked keys. Now I moved it outside as we track both
keys and directory with this PR.
--
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]