The NameNode should optionally exit after writing an FsImage if it detects the following kinds of corruptions:
- INodeReference pointing to non-existent INode
- Duplicate entries in snapshot deleted diff list.
- is related to
HDFS-13101 Yet another fsimage corruption related to snapshot
HDFS-13813 Exit NameNode if dangling child inode is detected when saving FsImage