You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/01/06 01:18:00 UTC

[jira] [Commented] (SOLR-16475) Ability to change the default replica placement plugin though sysProp

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

ASF subversion and git services commented on SOLR-16475:
--------------------------------------------------------

Commit 15dac229bd08bf6946c4fa5d0d0021dc02e69177 in solr's branch refs/heads/main from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=15dac229bd0 ]

SOLR-16475 Make the default replica placement plugin configurable (#1089)



> Ability to change the default replica placement plugin though sysProp
> ---------------------------------------------------------------------
>
>                 Key: SOLR-16475
>                 URL: https://issues.apache.org/jira/browse/SOLR-16475
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> The default placement plugin is "Simple", and to change it you need to edit {{clusterprops.json}} in zookeeper, as specified in https://solr.apache.org/guide/solr/latest/configuration-guide/replica-placement-plugins.html.
> The proposal is to be able to statically specify the default placement plugin to use as a system property or env.var, e.g.
> {code:java}
> solr start -c -Dsolr.defaultPlacementPlugin=affinity {code}
> or
> {code:java}
> SOLR_DEFAULT_PLACEMENT_PLUGIN=affinity solr start -c {code}
> This will only change the *default* plugin to use instead of 'simple'. If users configure another plugin in clusterprops.json then things will work as today, that the explicitly configured plugin is used instead of the default.
> This makes it easy to spin up Solr in Docker or with the solr-operator, using a different placement plugin default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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