Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15691

Admin UI raises yellow warning even when only case of hostnames differ

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 8.10
    • 8.11
    • Admin UI, SolrCloud
    • None

    Description

      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)

      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).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            janhoy Jan Høydahl
            paul@search-solutions.net Paul Blanchaert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m

                Issue deployment