Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9019

ECUnderReplicationHandler rejects a potential target if it doesn't satisfy placement policy

    XMLWordPrintableJSON

Details

    Description

      ECUnderReplicationHandler checks if current replica datanodes + potential replica datanodes satisfy placement policy. If they don't, the targets are rejected and recovery fails. While this check makes some sense, it can block container recovery. Since under replication is more serious than mis replication, we should let a new replica be reconstructed even if it doesn't satisfy placement policy.

      Also, we should rely on the policy to suggest a node that satisfies the policy - if there is none, the policy will fallback and try to suggest a node on a rack where the container is already present.

      Attachments

        Issue Links

          Activity

            People

              siddhant Siddhant Sangwan
              siddhant Siddhant Sangwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: