dang-stripe commented on code in PR #12175: URL: https://github.com/apache/pinot/pull/12175#discussion_r1915821343
########## pinot-broker/src/main/java/org/apache/pinot/broker/broker/helix/BaseBrokerStarter.java: ########## @@ -439,17 +440,26 @@ private void updateInstanceConfigAndBrokerResourceIfNeeded() { } updated |= HelixHelper.removeDisabledPartitions(instanceConfig); boolean shouldUpdateBrokerResource = false; - String brokerTag = null; List<String> instanceTags = instanceConfig.getTags(); if (instanceTags.isEmpty()) { // This is a new broker (first time joining the cluster) if (ZKMetadataProvider.getClusterTenantIsolationEnabled(_propertyStore)) { - brokerTag = TagNameUtils.getBrokerTagForTenant(null); + instanceConfig.addTag(TagNameUtils.getBrokerTagForTenant(null)); shouldUpdateBrokerResource = true; } else { - brokerTag = Helix.UNTAGGED_BROKER_INSTANCE; + String instanceTagsConfig = _brokerConf.getProperty(Broker.CONFIG_OF_BROKER_INSTANCE_TAGS); Review Comment: @Jackie-Jiang why is this set only if cluster tenant isolation is false? i was just testing this and noticed it wasn't working on our cluster, but also noticed cluster isolation defaults to true. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org