You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "jojochuang (via GitHub)" <gi...@apache.org> on 2023/01/31 00:08:32 UTC

[GitHub] [ozone] jojochuang commented on a diff in pull request #4211: HDDS-7688. Ozone Manager change to support HSync.

jojochuang commented on code in PR #4211:
URL: https://github.com/apache/ozone/pull/4211#discussion_r1091258528


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyCommitRequestWithFSO.java:
##########
@@ -97,6 +96,11 @@ public OMClientResponse validateAndUpdateCache(OzoneManager ozoneManager,
     OMClientResponse omClientResponse = null;
     boolean bucketLockAcquired = false;
     Result result;
+    boolean isHSync = commitKeyRequest.hasFinalUpdate() &&
+            commitKeyRequest.getFinalUpdate() == false;
+    if (!isHSync) {

Review Comment:
   Filed https://issues.apache.org/jira/browse/HDDS-7855 as a follow up task.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org