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 2022/01/14 18:36:00 UTC

[jira] [Commented] (SOLR-15209) Make the LegacyAssignStrategy the SimplePlacementFactory

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

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

Commit da7ce14ee9da3a7eae935d5f22240131127d7036 in solr's branch refs/heads/main from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=da7ce14 ]

SOLR-15209: Rename the LegacyPlacementPolicy to the SimplePlacementPolicy


> Make the LegacyAssignStrategy the SimplePlacementFactory
> --------------------------------------------------------
>
>                 Key: SOLR-15209
>                 URL: https://issues.apache.org/jira/browse/SOLR-15209
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 9.0
>            Reporter: Andrzej Bialecki
>            Assignee: Ilan Ginzburg
>            Priority: Blocker
>             Fix For: 9.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently there's a lot of code in {{Assign}} dealing with the fact that we still support the old "legacy" replica assignment as well as the new plugin-based placement strategies.
> Furthermore, the "legacy" assignment is now the default even though it's neither robust nor optimal, except in the very simple and small clusters. Also, providing another plugin-based placement as the default impl. runs into a small complication - in the absence of any plugin config the code reverts to the "legacy".
> In order to promote the adoption of the new plugin-based placements we should make the {{AffinityPlacementFactory}} the new default placement strategy, selected when the explicit configuration is missing (and then create it as a default configuration in {{PlacementPluginFactoryLoader}}).
> I propose to re-package the "legacy" strategy as a {{PlacementPluginFactory}} so that it can be configured in the same way as other placement plugins.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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