Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-6838. [FSO] Sets OM default to LEGACY for an older client's bucket create request #3487

Merged
merged 4 commits into from Jun 8, 2022

Conversation

rakeshadr
Copy link
Contributor

What changes were proposed in this pull request?

Presently, older clients can create bucket other than LEGACY bucket layout if admin sets ozone.default.bucket.layout default value to FSO or OBS.

For example, ozone.default.bucket.layout = FILE_SYSTEM_OPTIMIZED in OM server.

Say, Older Client creates a bucket, OM will use the default value and creates an FSO bucket.

Now, older client can't perform any key operations to this bucket as older client's operations not supported on FSO/OBS buckets layout types.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-6838

How was this patch tested?

Added test case

Copy link
Contributor

@mukul1987 mukul1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants