You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2026/05/14 18:26:00 UTC

[jira] [Resolved] (HDDS-15199) Quota repair CLI ignores --buckets because the OM client never sends the bucket list

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

Wei-Chiu Chuang resolved HDDS-15199.
------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> 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
>             Fix For: 2.2.0
>
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org