Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
In HDFS-10943 yzhangal reported that edit log can not be rolled due to unexpected edit logs lingering in the buffer.
Unable to root cause the bug, I propose that we dump the remaining edit logs in the buffer into namenode log, before crashing namenode. Use this new capability to find the ops that sneaks into the buffer unexpectedly, and hopefully catch the bug.
This effort is orthogonal, but related to HDFS-11292, which adds additional informational logs to help debug this issue.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-10943 rollEditLog expects empty EditsDoubleBuffer.bufCurrent which is not guaranteed
- Open
-
HDFS-11292 log lastWrittenTxId etc info in logSyncAll
- Resolved