Jing Zhao created HDFS-5384:
-------------------------------

             Summary: Add a new TransitionState to indicate NN is in transition 
from standby state to active state
                 Key: HDFS-5384
                 URL: https://issues.apache.org/jira/browse/HDFS-5384
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: ha, namenode
    Affects Versions: 3.0.0
            Reporter: Jing Zhao
            Assignee: Jing Zhao


Currently in HA setup, when a NameNode is transitioning from standby to active, 
the current code first sets the state of the NN to Active, then starts the 
active service, during which the NN still needs to tail the remaining editlog 
and may not be able to serve certain requests as expected (such as HDFS-5322). 

So it may be necessary to define a transition state to indicate that NN has 
left the previous state and is in transitioning to the next state.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to