nandakumar131 opened a new pull request, #5670: URL: https://github.com/apache/ozone/pull/5670
## What changes were proposed in this pull request? If there is a restart during or immediately after SCM upgrade finalization, the `FinalizationStateManager#finalizeLayoutFeature` Ratis call will be re-executed while Raft log is re-applied during restart. This will cause the SCM to crash if `FinalizationStateManager#finalizeLayoutFeature` call is not idempotent. This PR modifies the behaviour of `AbstractLayoutVersionManager` to make `finalizeLayoutFeature` call idempotent. ## What is the link to the Apache JIRA HDDS-9769 ## How was this patch tested? Modified the existing unit test to verify the new behavior. -- 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]
