[ 
https://issues.apache.org/jira/browse/HDDS-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bharat Viswanadham resolved HDDS-5202.
--------------------------------------
    Fix Version/s: 1.2.0
       Resolution: Fixed

> Use scm#checkLeader before processing client requests 
> ------------------------------------------------------
>
>                 Key: HDDS-5202
>                 URL: https://issues.apache.org/jira/browse/HDDS-5202
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM HA
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>
> 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]

Reply via email to