HDFS-903 calculates a MD5 checksum to a saved image, so that we could verify the integrity of the image at the loading time.
The other half of the story is how to verify fsedits. Similarly we could use the checksum approach. But since a fsedit file is growing constantly, a checksum per file does not work. I am thinking to add a checksum per transaction. Is it doable or too expensive?