[
https://issues.apache.org/jira/browse/HDFS-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205932#comment-13205932
]
Bikas Saha commented on HDFS-2909:
----------------------------------
storage.writeTransactionIdFileToStorage() may or may not be called depending on
whether IOException's are swallowed at some point in FSEditLog.rollEditLogs().
There does not seem to be a logic/requirement of when
storage.writeTransactionIdFileToStorage() should or should not be called.
Marking bad storage directories is a side effect of calling
storage.writeTransactionIdFileToStorage().
Also, JournalSet works independent of storage directory state.
> HA: Inaccessible shared edits dir not getting removed from FSImage storage
> dirs upon error
> ------------------------------------------------------------------------------------------
>
> Key: HDFS-2909
> URL: https://issues.apache.org/jira/browse/HDFS-2909
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Bikas Saha
> Assignee: Bikas Saha
>
--
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