errose28 commented on code in PR #9723:
URL: https://github.com/apache/ozone/pull/9723#discussion_r3604505442
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/OmUtils.java:
##########
@@ -263,6 +263,9 @@ public static boolean isReadOnly(OMRequest omRequest) {
return true;
case GetQuotaRepairStatus:
case StartQuotaRepair:
+ // Prepare and CancelPrepare are now no-ops, but still produce responses
for compatability.
+ case Prepare:
+ case CancelPrepare:
Review Comment:
They are being moved to the read-only block since they don't modify state
anymore. I'll update the comment to clarify 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]