[
https://issues.apache.org/jira/browse/HDDS-11437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881940#comment-17881940
]
Sumit Agrawal commented on HDDS-11437:
--------------------------------------
As this is every old client where quota is not supported as intended and
behaviour is changed in 1.1.0 client again.
There is a workaround to reset quota as set automatically by 1.0.0 client.
So this is not required to be supported.
> Wire incompatibility in volume quota from 1.0.0
> -----------------------------------------------
>
> Key: HDDS-11437
> URL: https://issues.apache.org/jira/browse/HDDS-11437
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Client, Ozone Manager
> Reporter: Attila Doroszlai
> Assignee: Sumit Agrawal
> Priority: Major
> Attachments: image-2024-09-12-14-34-45-897.png
>
>
> Volume created without quota by Ozone 1.0.0 client in Ozone 1.5.0 cluster has
> non-zero quota. Bucket creation fails due to missing quota. In addition,
> response uses error code unknown to 1.0.0 client.
> {code:title=Ozone 1.0.0 client}
> $ ozone sh volume create /vol1
> $ ozone sh volume info /vol1 | jq -r '.quota'
> 1152921504606846976
> $ time ozone sh bucket create /vol1/bucket1
> Message missing required fields: status
> real 4m0.978s
> {code}
> {code:title=OM}
> [om1-OMStateMachineApplyTransactionThread - 0] ERROR
> bucket.OMBucketCreateRequest: Bucket creation failed for bucket:bucket1 in
> volume:vol1
> QUOTA_ERROR org.apache.hadoop.ozone.om.exceptions.OMException: Bucket space
> quota in this volume should be set as volume space quota is already set.
> at
> org.apache.hadoop.ozone.om.request.bucket.OMBucketCreateRequest.checkQuotaBytesValid(OMBucketCreateRequest.java:366)
> at
> org.apache.hadoop.ozone.om.request.bucket.OMBucketCreateRequest.validateAndUpdateCache(OMBucketCreateRequest.java:239)
> at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.lambda$0(OzoneManagerRequestHandler.java:419)
> at
> org.apache.hadoop.ozone.util.MetricUtil.captureLatencyNs(MetricUtil.java:46)
> at
> org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.handleWriteRequestImpl(OzoneManagerRequestHandler.java:417)
> at
> org.apache.hadoop.ozone.protocolPB.RequestHandler.handleWriteRequest(RequestHandler.java:63)
> at
> org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.runCommand(OzoneManagerStateMachine.java:543)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]