[ 
https://issues.apache.org/jira/browse/HDDS-14369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated HDDS-14369:
------------------------------
    Description: 
{code}
// ScmConfigKeys
  public static final int OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT = 2;
{code}

{code}
// RatisPipelineProvider
    String dnLimit = conf.get(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT);
    this.heavyNodeCriteria = dnLimit == null ? 0 : Integer.parseInt(dnLimit);
{code}
The OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT is 2 but SCMNodeManager uses 0 when 
the conf is not set.


  was:
{code}
// ScmConfigKeys
  public static final int OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT = 2;
{code}

{code}
// SCMNodeManager
    String dnLimit = conf.get(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT);
    this.heavyNodeCriteria = dnLimit == null ? 0 : Integer.parseInt(dnLimit);
{code}
The OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT is 2 but SCMNodeManager uses 0 when 
the conf is not set.


        Summary: RatisPipelineProvider does not honor 
OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT  (was: SCMNodeManager does not honor 
OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT)

> RatisPipelineProvider does not honor OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT
> --------------------------------------------------------------------------
>
>                 Key: HDDS-14369
>                 URL: https://issues.apache.org/jira/browse/HDDS-14369
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Tsz-wo Sze
>            Priority: Major
>
> {code}
> // ScmConfigKeys
>   public static final int OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT = 2;
> {code}
> {code}
> // RatisPipelineProvider
>     String dnLimit = conf.get(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT);
>     this.heavyNodeCriteria = dnLimit == null ? 0 : Integer.parseInt(dnLimit);
> {code}
> The OZONE_DATANODE_PIPELINE_LIMIT_DEFAULT is 2 but SCMNodeManager uses 0 when 
> the conf is not set.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to