JiangHua Zhu created HDFS-15887:
-----------------------------------

             Summary: Solve the uneven rolling edit log file
                 Key: HDFS-15887
                 URL: https://issues.apache.org/jira/browse/HDFS-15887
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: JiangHua Zhu
         Attachments: edit_files.jpg

When checkpoint action and roll edit log action occur at the same time, the 
generated edit file will be larger, which is unfavorable for the tail edit file.
For example, here is an actual effect:
The StandbyCheckpointer log is triggered as follows:
2021-03-11 09:18:42,513 [769071096]-INFO [Standby State 
Checkpointer:StandbyCheckpointer$CheckpointerThread@335]-Triggering checkpoint 
because there have been 5142154 txns since the last checkpoint, which exceeds 
the configured threshold 1000000



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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