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

Allow EC PipelineChoosingPolicy to be defined separately from Ratis

    XMLWordPrintableJSON

Details

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

    Description

      Cluster may have set the PipelineChoosingPolicy to the HealthyPipelineChoosePolicy for Ratis, but it adds overhead and is not necessary for EC, as the EC pipeline is always healthy:

        public boolean isHealthy() {
          // EC pipelines are not reported by the DN and do not have a leader. If a
          // node goes stale or dead, EC pipelines will by closed like RATIS pipelines
          // but at the current time there are not other health metrics for EC.
          if (replicationConfig.getReplicationType() == ReplicationType.EC) {
            return true;
          }
          ...
      

      To allow for flexibility, add a new config for the ECPipelineChoosingPolicy so it can be different from the Ratis policy.

      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: