Paul Blanchaert created SOLR-15691:
--------------------------------------

             Summary: Admin UI raises yellow warning even when only case of 
hostnames differ
                 Key: SOLR-15691
                 URL: https://issues.apache.org/jira/browse/SOLR-15691
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Admin UI, SolrCloud
    Affects Versions: 8.10
            Reporter: Paul Blanchaert


Admin UI raises yellow warning "Your ZK connection string (n hosts) is 
different from the dynamic ensemble config (n hosts)." even when hostnames are 
only different by upder/lowercase.

Code for warning was introduced by SOLR-14371 Zk StatusHandler should know 
about dynamic zk config 
([#1392|https://github.com/apache/lucene-solr/pull/1392])

See 
solr/core/src/java/org/apache/solr/handler/admin/ZookeeperStatusHandler.java 
method getZkStatus(String zkHost)

Method creates 2 sorted List<String> (connStringHosts and dynamicHosts) to 
verify the difference via containsAll, but this should be made case insensitive 
(e.g. by mapping the hostnames to lowercase).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to