diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java index dba1201680..4d4ebabd11 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java +++ b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/topology/Topology.java @@ -233,7 +233,7 @@ private static LinkedHashMap computeInstanceTopologyMapHelper( return instanceTopologyMap; } } - if (numOfMatchedKeys != domainAsMap.size()) { + if (numOfMatchedKeys < clusterTopologyConfig.getTopologyKeyDefaultValue().size()) { logger.warn( "Key-value pairs in InstanceConfig.Domain {} do not align with keys in ClusterConfig.Topology " + "{}, using default domain value instead", instanceConfig.getDomainAsString(),