errose28 opened a new pull request, #3966: URL: https://github.com/apache/ozone/pull/3966
## What changes were proposed in this pull request? Currently the default value for ozone.default.bucket.layout is LEGACY. This means most users will continue to create legacy buckets. This change makes the default FSO and still allows old clients to create legacy buckets they can read using a pre-process validator to set the bucket type based on the client version. The current code was setting the bucket layout to legacy for create bucket commands from older clients, but it was not using a pre-process validator as is standard practice. This patch refactors it to do so. ## What is the link to the Apache JIRA HDDS-7496 ## How was this patch tested? - `TestBucketLayoutWithOlderClient#testCreateBucketWithOlderClient` passes, indicating older clients create legacy buckets regardless of the server default. - `TestOMBucketCreateRequest#testValidateAndUpdateCacheVerifyBucketLayout` is updated to ensure the default bucket layout is set to FSO. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
