Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
When HDFS-14317 was fixed, we tackled the problem that in a cluster with in-progress edit log tailing enabled, a Standby NameNode may never roll the edit logs, which can eventually cause data loss.
Unfortunately, in the process, it was made so that if there are multiple Standby NameNodes, they will all roll the edit logs at their specified frequency, so the edit log will be rolled X times more frequently than they should be (where X is the number of Standby NNs). This is not as bad as the original bug since rolling frequently does not affect correctness or data availability, but may degrade performance by creating more edit log segments than necessary.
Attachments
Issue Links
- duplicates
-
HDFS-13189 Standby NameNode should roll active edit log when checkpointing
- Resolved
- is broken by
-
HDFS-14317 Standby does not trigger edit log rolling when in-progress edit log tailing is enabled
- Resolved
- is related to
-
HDFS-14378 Simplify the design of multiple NN and both logic of edit log roll and checkpoint
- Patch Available