sumitagrawl opened a new pull request, #6928: URL: https://github.com/apache/ozone/pull/6928
## What changes were proposed in this pull request? readonly mode is provided for applyTransaction request handling failure. By default, this is "disabled". On enable the conf `ozone.om.onfailure.readonly.enable` , the feature gets enabled. And on any request failure (earlier causing crash), it moves to readonly mode, providing support for only read request. OMStateMachine is paused(), and do not process any further request. This can be recovered only during startup when related raft log execution gets success (or skipped). ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11116 ## How was this patch tested? - Unit test - integration test covering scenario of moving to readonly mode on failure, and over restart remain in readonly mode as failed again for the raft log Observation: -- 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]
