zhengchenyu opened a new pull request #2571:
URL: https://github.com/apache/ozone/pull/2571


   ## What changes were proposed in this pull request?
   
   I have a ozone cluster, prefix is enable when setup cluster. when restart 
om, then error below:
   
   ```
   java.io.IOException: Failed to start OM in PREFIX layout format as existing 
bucket has a different layout SIMPLE metadata format
   ```
   
   This issue is similar to HDDS-5094. Later in  HDDS-5362, bucket layout is 
supported, then addFSOptimizedBucketDetails is removed in this 
https://github.com/apache/ozone/commit/7df192530810a07d3b976c3a56c46328c0b1d591.
 So om crash when restart if layout is PREFIX.
   
   I think there is no need to validate bucket type since HDDS-5362.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5664
   
   ## How was this patch tested?
   
   unit tests and manual tests.
   


-- 
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]

Reply via email to