Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
This is the first part of the design described in this comment in HDFS-1972. When the DNs start, they should not consider either of the NNs in a block pool to be the active one. Rather, the NNs should include their HA state as part of the heartbeat response to the DN, and the DN will believe whichever NN claims to be active at a higher transaction ID.