mukul1987 commented on a change in pull request #591: HDDS-1250: Initial patch
with the proposed fix.
URL: https://github.com/apache/hadoop/pull/591#discussion_r264554046
##########
File path:
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OmUtils.java
##########
@@ -216,6 +216,24 @@ public static boolean isReadOnly(
}
}
+ /**
+ * Return true for the requests which does not need to call SCM via ratis.
+ *
Review comment:
The allocate block call request, can be processed as part of
StartTransaction inside Ratis's State Machine. This call is only processed on
the leader and not on followers.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]