smengcl commented on code in PR #11309:
URL: https://github.com/apache/ozone/pull/11309#discussion_r4098903867


##########
hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto:
##########
@@ -2479,6 +2479,10 @@ message BucketQuotaCount {
     required bool supportOldQuota = 5 [default=false];
     optional int64 diffSnapshotUsedBytes = 6;
     optional int64 diffSnapshotUsedNamespace = 7;
+    // objectID of the bucket the delta was computed against, so the apply can
+    // reject a stale delta if the bucket was deleted and recreated under the
+    // same name during the repair window. Optional for backward compatibility.
+    optional uint64 bucketObjectID = 8;

Review Comment:
   Note: This change is compatible with ZDU if `bucketObjectID` is included in 
the first ZDU-capable release. If that release ships without it, introducing 
the field in a later release will need an OM version gate so mixed-version OMs 
apply quota repair consistently.



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