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

Andrzej Bialecki  commented on SOLR-12467:
------------------------------------------

To clarify, we could add a method for updating the config from SolrJ directly 
to ZK, even when Solr is not running, but then we would lose important parts of 
the validation. In rare cases where this kind of access is required the above 
workaround seems sufficient.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to