[ https://issues.apache.org/jira/browse/HDDS-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543431#comment-16543431 ]
Xiaoyu Yao commented on HDDS-241: --------------------------------- Thanks [~hanishakoneru] for the patch. It looks good to me overall. Here are my comments. # Can we document the volume metadata structure (like version file, etc) and state formally along with the code? # TestVolumeSet#testVolumeInInconsistentState need to clean up the volume3 dir created after the test so that other tests in the same suite can have a clean setup. > Handle Volume in inconsistent state > ----------------------------------- > > Key: HDDS-241 > URL: https://issues.apache.org/jira/browse/HDDS-241 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: Hanisha Koneru > Assignee: Hanisha Koneru > Priority: Major > Fix For: 0.2.1 > > Attachments: HDDS-241.001.patch > > > During startup, a volume can be in an inconsistent state if > # Volume Root path is a file and not a directory > # Volume Root is non empty but VERSION file does not exist > If a volume is detected to be in an inconsistent state, we should skip > loading it during startup. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org