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

David Smiley commented on SOLR-16542:
-------------------------------------

I looked closer.  So there's one DistributedCollectionConfigSetCommandRunner 
that, as its name suggests, does *both* Collection and ConfigSet stuff.  The 
field in CoreContainer holding this will no longer be Optional because we need 
it for _at least_ ConfigSet processing.  But we can keep the method 
CoreContainer.getDistributedCollectionCommandRunner which returns an Optional.  
It can return empty or the field based on wether that's enabled for collection 
processing by looking at NodeConfig.getDistributedCollectionConfigSetExecution 
(which ought to be renamed to remove the ConfigSet part).  A *new* method right 
next to it named getDistributedConfigSetCommandRunner can be added which does 
not return the field wrapped in an Optional.  Sound good?

> Remove OverseerConfigSetMessageHandler; always do distributed mode
> ------------------------------------------------------------------
>
>                 Key: SOLR-16542
>                 URL: https://issues.apache.org/jira/browse/SOLR-16542
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: David Smiley
>            Priority: Major
>              Labels: newdev
>             Fix For: main (10.0)
>
>
> {{distributedCollectionConfigSetExecution}} is a boolean setting on 
> solr.xml/solrCloud that switches *both* Collection API *and* ConfigSet API 
> processing between Overseer based (when =false) vs distributed (when =true).  
> In this issue, remove the Overseer based processing of ConfigSets, thus 
> always use DistributedCollectionConfigSetCommandRunner instead for ConfigSet 
> processing, regardless of the {{distributedCollectionConfigSetExecution}} 
> boolean setting.  Namely, OverseerConfigSetMessageHandler would be removed.  
> The boolean toggle would henceforth only toggle the "collection" aspect of 
> wether to do distributed processing vs Overseer (centralized).



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

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

Reply via email to