elek commented on pull request #2151: URL: https://github.com/apache/ozone/pull/2151#issuecomment-823884934
> Scenario-2) Created a bucket with older cluster. Here bucketMetadata is empty. > > Test Step-1) Stops OM server and updated configs ozone.om.metadata.layout=SIMPLE and ozone.om.enable.filesystem.paths=true. > > Test Step-2) Starts OM > > Test Result: OM won't validate the bucketmetadata layout as the cluster level layout is SIMPLE. It will start successfully with prefix feature disabled. I think it's better to always validate, because we have this scenario, too: Scenarion-3) Created a bucket with the new cluster and layout=PREFIX. bucketMetadata is filled Test Step-1) Stops OM server and updated configs ozone.om.metadata.layout=SIMPLE and ozone.om.enable.filesystem.paths=true. Test Step-2) Starts OM Test Result: OM **should** validate the layouts and fail as SIMPLE and PREFIX couldn't be handled in the same system (today). -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
