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

Solr webapp should query zookeeper for active hosts for zk >3.5

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.7, 8.1, 8.2
    • Fix Version/s: None
    • Component/s: Admin UI
    • Labels:
      None

      Description

      Solr webapp only reports a single server although solr-zookeeper-headless points to multiple zkservers. The web app can query zk for active servers which are listed in /zookeeper/config znode made available in zk >3.5. This is especially useful as zk is capable of dynamic reconfiguration.

      Status: red
      Errors:
      "Leader reports 2 followers, but we only found 0. Please check zkHost configuration"; "We do not have a leader" (either one)
      ZK connection string: solr-zookeeper-headless:2181
      Ensemble size: 1

      Shawn has summed it up perfectly.

      "Solr should query the ZK client for information about what server hosts are active, rather than relying on the connection string, unless that information cannot be obtained by the client."

      For more details:

      https://lucene.472066.n3.nabble.com/How-to-resolve-a-single-domain-name-to-multiple-zookeeper-IP-in-Solr-td4450236.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lwj5 Ween Jiann
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: