Bharat Viswanadham created HDDS-5202:
----------------------------------------
Summary: Use scm#checkLeader
Key: HDDS-5202
URL: https://issues.apache.org/jira/browse/HDDS-5202
Project: Apache Ozone
Issue Type: Task
Reporter: Bharat Viswanadham
Assignee: Bharat Viswanadham
Right now to check leader we use ScmContext#isLeader, this gets updated by
notifyLeaderChanged.
But SCM server should start accepting requests when it is leader and
isLeaderReady.
We need isLeaderReady also because Statemachine should apply all the log
committed transactions to start accepting requests.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]