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


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:
##########
@@ -720,7 +723,11 @@ public PendingKeysDeletion getPendingDeletionKeys(
       String volume, String bucket, String startKey,
       CheckedFunction<KeyValue<String, OmKeyInfo>, Boolean, IOException> 
filter,
       int count) throws IOException {
+    boolean isLegacy = ozoneManager.getScmInfo().getMetaDataLayoutVersion() <

Review Comment:
   isLegacy -> isDataDistributionFinalized or is DataDistributionEnabled. 
   
   Legacy is not welly used in Ozone.  There are continuous new features are 
implemented, it's better to use a more meaningful and straightforward naming, 
for a better readability. 



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