if (clusterConfig.getErrorOrRecoveryPartitionThresholdForLoadBalance() != -1) { threshold = clusterConfig.getErrorOrRecoveryPartitionThresholdForLoadBalance();
if (clusterConfig.getErrorOrRecoveryPartitionThresholdForLoadBalance() != -1) { threshold = clusterConfig.getErrorOrRecoveryPartitionThresholdForLoadBalance();