Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
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
- links to