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

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

    [ https://issues.apache.org/jira/browse/SOLR-15691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427749#comment-17427749 ] 

Jan Høydahl commented on SOLR-15691:
------------------------------------

Good catch. If you throw up a Pull Request I'll see to that it gets merged soon. Perhaps even for 8.10.1

> 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
>            Priority: Minor
>
> 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