Hanisha Koneru created HDDS-5478:
------------------------------------

             Summary: Improve error logging in OMStateMachine
                 Key: HDDS-5478
                 URL: https://issues.apache.org/jira/browse/HDDS-5478
             Project: Apache Ozone
          Issue Type: Improvement
          Components: OM
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


If some exception occurs in a StateMachine implemented method, the exception is 
propagated back to Ratis and then through Ratis back again to StateMachine. In 
this back and forth, the exception could be lost. 
While working on OM Bootstrap, I encountered a NullPointer exception in 
OMStateMachine which cause Ratis (and eventually StateMachine) to shutdown with 
a "client cancelled" exception. It would have helped in debugging if the 
OMStateMachine had logged the initial exception. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to