rakeshadr commented on PR #3395: URL: https://github.com/apache/ozone/pull/3395#issuecomment-1121944673
> *a bucket can be deleted and recreated with the same name and a different layout before the request is passed on to validateAndUpdateCache @errose28 Agreed with you. +1 for the 2nd option. After the request validators, there is `OMClientRequest#preExecute` and `OMClientRequest#validateAndUpdateCache` steps, it should have checks `validatedBucketID` with the `OMState - OmBucketInfo.objectID` and throws `BucketIDMismatchException`. There is a separate sub-task HDDS-6682 to discuss & implement this inflight request handling. IMHO, we can move this discussion to that sub-task and move the current PR to completion. cc: @JyotinderSingh Please make a note of this. -- 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]
