[ 
https://issues.apache.org/jira/browse/HDDS-15199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-15199:
----------------------------------
    Labels: pull-request-available  (was: )

> Quota repair CLI ignores --buckets because the OM client never sends the 
> bucket list
> ------------------------------------------------------------------------------------
>
>                 Key: HDDS-15199
>                 URL: https://issues.apache.org/jira/browse/HDDS-15199
>             Project: Apache Ozone
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Jason O'Sullivan
>            Assignee: Jason O'Sullivan
>            Priority: Major
>              Labels: pull-request-available
>
> When you call startQuotaRepair with a list of buckets, the client code builds 
> StartQuotaRepairRequest without adding those buckets. The request always has 
> an empty bucket list.
> The Ozone Manager always runs quota repair as if no buckets were specified 
> (full repair), even when the CLI passes --buckets.
> [OzoneManagerProtocolClientSideTranslatorPB.startQuotaRepair|https://github.com/apache/ozone/blob/master/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java#L2676]
>  - the builder should add the bucket strings (e.g. addAllBuckets(buckets)) 
> before build().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to