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


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java:
##########
@@ -858,26 +871,37 @@ private void addToObjectIdMap(Table<String, ? extends 
WithObjectID> fsTable,
                  : sstFileReader.getKeyStream()) {
       keysToCheck.forEach(key -> {
         try {
-          final WithObjectID oldKey = fsTable.get(key);
-          final WithObjectID newKey = tsTable.get(key);
+          final WithParentObjectId oldKey = fsTable.get(key);
+          final WithParentObjectId newKey = tsTable.get(key);

Review Comment:
   OBS buckets use OmKeyInfo which also extends WithParentObjectId, it has 
parentObjectId 0



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