Guocui Mi created HDFS-9787:
-------------------------------
Summary: SNNs stop uploading FSImage to ANN once
isPrimaryCheckPointer changed to false.
Key: HDFS-9787
URL: https://issues.apache.org/jira/browse/HDFS-9787
Project: Hadoop HDFS
Issue Type: Bug
Components: ha
Affects Versions: 2.6.2
Reporter: Guocui Mi
SNNs stop uploading FSImage to ANN once isPrimaryCheckPointer become false.
Here is the logic to check if upload FSImage or not.
In StandbyCheckpointer.java
boolean sendRequest = isPrimaryCheckPointer || secsSinceLastUpload >=
checkpointConf.getQuietPeriod();
doCheckpoint(sendRequest);
The sendRequest is always false if isPrimaryCheckPointer is false giving
secsSinceLast (~checkpointPeriod) >= checkpointConf.getQuietPeriod()
(checkpointPeriod * this.quietMultiplier(default value 1.5)) always returns
false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)