swamirishi commented on code in PR #8392:
URL: https://github.com/apache/ozone/pull/8392#discussion_r2080180710


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotUtils.java:
##########
@@ -299,4 +300,59 @@ public static void validatePreviousSnapshotId(SnapshotInfo 
snapshotInfo,
           OMException.ResultCodes.INVALID_REQUEST);
     }
   }
+
+  /**
+   * Compares the block location info of 2 key info.
+   * @return true if block locations are same else false.
+   */
+  public static boolean isBlockLocationInfoSame(OmKeyInfo prevKeyInfo,

Review Comment:
   Since this change doesn't pertain to this PR as I have simply moved this 
function to SnapshotUtils I can create a follow up task for adding a test case 
for this.



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