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

[jira] [Created] (SOLR-14371) Zk StatusHandler should know about dynamic zk config

Jan Høydahl created SOLR-14371:
----------------------------------

             Summary: Zk StatusHandler should know about dynamic zk config
                 Key: SOLR-14371
                 URL: https://issues.apache.org/jira/browse/SOLR-14371
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Jan Høydahl


With zk 3.5 it supports dynamic reconfig, which is used by the solr-operator for Kubernetes. Then Solr is given a zkHost of one url pointing to a LB (Service) in front of all zookeepers, and the zkclient will then fetch list of all zookeepers from special zknode /zookeeper/config and reconfigure itself with connection to all zk nodes listed. So you can then scale up/down number of zk nodes dynamically without restarting solr.

However, the Admin UI displays errors since it believes it is connected to only one zk, which is contradictory to what zk itself reports. We need to make ZookeeperStatusHandler aware of dynamic reconfig so it asks zkclient what current zkHost is instead of relying on Zk_HOST static setting.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org