[ https://issues.apache.org/jira/browse/HDFS-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918102#action_12918102 ]
Sanjay Radia commented on HDFS-1073: ------------------------------------ > So are you suggesting that each edit will include a header with the > transaction ID in it? .. Actually I was, but your suggestion works. However, having a txid in each record helps sanity checks and debugging. There have been cases where we have got the transactions reversed in the past. The main cost is reading the extra 8 bytes and de-serializing the number. (BTW zookeeper does put in the txid in each editlog record). > Simpler model for Namenode's fs Image and edit Logs > ---------------------------------------------------- > > Key: HDFS-1073 > URL: https://issues.apache.org/jira/browse/HDFS-1073 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Sanjay Radia > Assignee: Todd Lipcon > Attachments: hdfs1073.pdf > > > The naming and handling of NN's fsImage and edit logs can be significantly > improved resulting simpler and more robust code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.