ivandika3 commented on code in PR #7558:
URL: https://github.com/apache/ozone/pull/7558#discussion_r1879771176


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmKeyInfo.java:
##########
@@ -351,6 +381,7 @@ public synchronized void appendNewBlocks(
     if (updateTime) {
       setModificationTime(Time.now());
     }
+    refreshCurrentLocationPartsMap();

Review Comment:
   Why is this called in `appendNewBlocks`? `appendNewBlocks` is only called in 
server side and the `currentlocationsPartsMap` and `currentDataSizePartsMap` 
are not persisted right?



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