[
https://issues.apache.org/jira/browse/SOLR-12467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505983#comment-16505983
]
Shalin Shekhar Mangar commented on SOLR-12467:
----------------------------------------------
No, we should not be writing to Zookeeper directly. But we should add SolrJ
request classes to modify autoscaling configuration the way we use the
collection APIs etc.
> allow to change the autoscaling configuration via SolrJ
> -------------------------------------------------------
>
> Key: SOLR-12467
> URL: https://issues.apache.org/jira/browse/SOLR-12467
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Affects Versions: 7.3.1
> Reporter: Hendrik Haddorp
> Priority: Minor
>
> Using SolrJ's CloudSolrClient it is possible to read the autoscaling
> configuration:
> cloudSolrClient.getZkStateReader().getAutoScalingConfig()
> There is however no way to update it. One can only read out the list of life
> nodes and then do a call to Solr using the LBHttpSolrClient for example.
> Given that the config is stored in ZooKeeper and thus could be written
> directly and even when no Solr instance is running this is not optimal.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]