You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2021/10/20 20:39:09 UTC

[jira] [Updated] (HDDS-878) Do the disk failure check before ContainerSet initialization

     [ https://issues.apache.org/jira/browse/HDDS-878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ethan Rose updated HDDS-878:
----------------------------
    Target Version/s: 1.3.0  (was: 1.2.0)

I am managing the 1.2.0 release and we currently have more than 600 issues targeted for 1.2.0. I am moving the target field to 1.3.0.

If you are actively working on this jira and believe this should be targeted for the 1.2.0 release, Please reach out to me via Apache email or Slack.

> Do the disk failure check before ContainerSet initialization
> ------------------------------------------------------------
>
>                 Key: HDDS-878
>                 URL: https://issues.apache.org/jira/browse/HDDS-878
>             Project: Apache Ozone
>          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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org