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:25:00 UTC

[jira] [Updated] (HDDS-5202) Use scm#checkLeader before processing client requests

     [ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org