[
https://issues.apache.org/jira/browse/HDDS-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham updated HDDS-5202:
-------------------------------------
Summary: Use scm#checkLeader before processing client requests (was: Use
scm#checkLeader)
> Use scm#checkLeader before processing client requests
> ------------------------------------------------------
>
> Key: HDDS-5202
> URL: https://issues.apache.org/jira/browse/HDDS-5202
> Project: Apache Ozone
> Issue Type: Task
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
>
> 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]