Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6462 Phase II : Erasure Coding Offline Recovery & Read/Write Improvements
  3. HDDS-7729

EC: ECContainerReplicaCount should handle pending delete of unhealthy replicas

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • SCM

    Description

      In ECContainerReplicaCount, we intentionally ignore UNHEALTHY replicas so that when we check for over or under replication, it is if the replicas are not there.

      However if there is a pending delete for an unhealthy replica, due to ignoring the unhealthy replicas, the pending delete decrements the healthy count and makes the container appear under replicated when it is not.

      When processing pending deletes, we need also ignore any that are removing the ignored unhealthy replicas.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: