You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "mingchao zhao (Jira)" <ji...@apache.org> on 2020/12/15 07:25:00 UTC

[jira] [Assigned] (HDDS-4562) Old bucket needs to be accessible after the cluster was upgraded to the Quota version.

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

mingchao zhao reassigned HDDS-4562:
-----------------------------------

    Assignee: mingchao zhao

> Old bucket needs to be accessible after the cluster was upgraded to the Quota version.
> --------------------------------------------------------------------------------------
>
>                 Key: HDDS-4562
>                 URL: https://issues.apache.org/jira/browse/HDDS-4562
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: mingchao zhao
>            Assignee: mingchao zhao
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: screenshot-quota.png
>
>
> long quotaInBytes are new fields in the bucketArgs, this field will go to 0 by default in the old bucket when the old cluster is upgraded. At this point, the data writes are rejected.
> This is similar to creating a bucket without specifying quotaInBytes, where quotaInBytes is set to -1 by default via getQuotaValue. We can use 0 as a special term.
>  !screenshot-quota.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org