Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8926 Umbrella for further EC improvements
  3. HDDS-9197

EC: Mark EC containers unhealthy when not missing but unrecoverable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None

    Description

      An EC container should only be marked as unhealthy if:

      1) Is not missing (has at least dataNum replica indexs online)

      2) Has at least dataNum Healthy indexes online.

      For a 3-2 container, this means that:

      Healthy, Healthy -> This is missing

      Unhealthy, Unhealthy -> This is missing as it doesn't matter that the replicas are unhealthy, as we could not read it anyway as we need at least 3 replicas.

      Healthy, Healthy, Unhealthy (indexes 1, 2, 3) -> This is unhealthy as technically much of the data can still be read, but it is the unhealthy container which is causing the problem and making it unrecoverable.

      Healthy, Healthy, Healthy, Unhealthy -> This is under replicated, as we can recover using the 3 healthy.

      Attachments

        Issue Links

          Activity

            People

              sodonnell Stephen O'Donnell
              sodonnell Stephen O'Donnell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: