[
https://issues.apache.org/jira/browse/HDDS-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prashant Pogde updated HDDS-878:
--------------------------------
Target Version/s: 1.2.0
I am managing the 1.1.0 release and we currently have more than 600 issues
targeted for 1.1.0. I am moving the target field to 1.2.0.
If you are actively working on this jira and believe this should be targeted to
1.1.0 release, Please change the target field back to 1.1.0 before Feb 05,
2021.
> Do the disk failure check before ContainerSet initialization
> ------------------------------------------------------------
>
> Key: HDDS-878
> URL: https://issues.apache.org/jira/browse/HDDS-878
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Major
>
> OzoneContainer won't handle any disk failures before initializing the
> ContainerSet. In a very extreme case, all the disk are bad and the
> OzoneContainer can still be running. We can improve this and add disk failure
> tolerance, like DataNode already did.
> {code:java}
> private void buildContainerSet() {
> Iterator<HddsVolume> volumeSetIterator = volumeSet.getVolumesList()
> .iterator();
> ArrayList<Thread> volumeThreads = new ArrayList<Thread>();
> //TODO: diskchecker should be run before this, to see how disks are.
> // And also handle disk failure tolerance need to be added
> while (volumeSetIterator.hasNext()) {
> HddsVolume volume = volumeSetIterator.next();
> Thread thread = new Thread(new ContainerReader(volumeSet, volume,
> containerSet, config));
> thread.start();
> volumeThreads.add(thread);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]