Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
As discussed HDFS-14961, ZKFC should not join election when its state is observer.
Right now when namemode was an observer, it joined election and it would be become a standby.
MonitorDaemon thread callchain is that
doHealthChecks -> enterState(State.SERVICE_HEALTHY) -> recheckElectability() -> elector.joinElection(targetToData(localTarget)) -> joinElectionInternal -> createLockNodeAsync
callBack for zookeeper
processResult -> becomeStandby
Attachments
Attachments
Issue Links
- relates to
-
HDFS-14961 [SBN read] Prevent ZKFC changing Observer Namenode state
- Resolved