You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/05/10 10:24:00 UTC
[jira] [Created] (HDDS-5202) Use scm#checkLeader
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org