You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Rakesh Radhakrishnan (Jira)" <ji...@apache.org> on 2022/06/03 10:49:00 UTC

[jira] [Updated] (HDDS-6683) Refactor OM server bucket layout configuration usage

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

Rakesh Radhakrishnan updated HDDS-6683:
---------------------------------------
    Summary: Refactor OM server bucket layout configuration usage  (was: Introduce SERVER_DEFAULT bucket layout.)

> Refactor OM server bucket layout configuration usage
> ----------------------------------------------------
>
>                 Key: HDDS-6683
>                 URL: https://issues.apache.org/jira/browse/HDDS-6683
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Jyotinder Singh
>            Assignee: Tanvi Penumudy
>            Priority: Major
>              Labels: pull-request-available
>
> After the post finalization, the LEGACY layout specified by the client is overridden by the configured value of {{{}ozone.default.bucket.layout{}}}.
>  
> The proposal is to modify the behavior on the server-side to only use the {{{}ozone.default.bucket{}}}{{{}{{.layout}} {}}}config if the client has not specified any bucket layout in the protobuf message.
> If the client sends the LEGACY bucket layout type then the OM server will not override it with the side {{ozone.default.bucket.layout}} value. This way a client has the flexibility to create a LEGACY bucket explicitly if it doesn't want the server configured bucket layout type.
>  
> Hint: We can use the hasBucketLayout Protobuf method to check if the field is specified or not.
> Reference: [Discussion here |https://github.com/apache/ozone/pull/3411#issuecomment-1126550908]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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