You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Paul Blanchaert (Jira)" <ji...@apache.org> on 2021/10/12 14:44:00 UTC

[jira] [Created] (SOLR-15691) Admin UI raises yellow warning even when only case of hostnames differ

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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org