liubingxing created HDFS-16426:
----------------------------------

             Summary: fix nextBlockReportTime if trigger full block report force
                 Key: HDFS-16426
                 URL: https://issues.apache.org/jira/browse/HDFS-16426
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: liubingxing


When we trigger full block report force by command line, the next block report 
time will be set like this:

nextBlockReportTime.getAndAdd(blockReportIntervalMs);

nextBlockReportTime will larger than blockReportIntervalMs.

If we trigger full block report twice, the nextBlockReportTime will larger than 
2 * blockReportIntervalMs. This is obviously not what we want.

We fix the nextBlockReportTime = now + blockReportIntervalMs after full block 
report trigger by command line.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to