[ https://issues.apache.org/jira/browse/HDFS-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246731#comment-13246731 ]
Todd Lipcon commented on HDFS-3178: ----------------------------------- Hi Nicholas. Could you please add some javadoc to the state enum values explaining the purpose of each state, and what the transitions are between them? Or augment the design doc for HDFS-3092 with this state machine, and reference it from the code? > Add states for journal synchronization in journal daemon > -------------------------------------------------------- > > Key: HDFS-3178 > URL: https://issues.apache.org/jira/browse/HDFS-3178 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ha, name-node > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h3178_20120403_svn_mv.patch, h3178_20120404.patch, > h3178_20120404_svn_mv.patch, svn_mv.sh > > > Journal in a new daemon has to be synchronized to the current transaction. > It requires new states such as WaitingForRoll, Syncing and Synced. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira