[
https://issues.apache.org/jira/browse/SOLR-10484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966076#comment-15966076
]
Christine Poerschke commented on SOLR-10484:
--------------------------------------------
If the intention is to keep only (certain) queries away from certain replicas
but for updates etc. still to be sent then the {{HttpShardHandler\[Factory\]}}
and the {{ReplicaListTransformer}} stuff from SOLR-8332 could be built upon I
think. For example we already have a _preferLocalShards_ logic and
_avoidCertainReplicas_ logic is fairly similar.
For example if something like this was configured
{code}
<shardHandlerFactory name="shardHandlerFactory"
class="solr.HttpShardHandlerFactory">
<str name="avoidableReplicaProperty">dontAskMe</str>
</shardHandlerFactory>
{code}
then any replicas annotated as "dontAskMe" would be avoided.
> Create a new replica property that keeps a replica from becoming active.
> ------------------------------------------------------------------------
>
> Key: SOLR-10484
> URL: https://issues.apache.org/jira/browse/SOLR-10484
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Erick Erickson
>
> See the user's list thread "Stopping a node from receiving any requests
> temporarily." for one example, but there are others. I can imagine operations
> people wanting to take a replica out of action for some time without
> affecting other replicas on that host.
> What do people think about having a property you could use with ADDREPLICA
> like "property.inactive" or something that kept the replica from coming up at
> all until the property was removed?
> DELETEREPLICAPROP could be used to remove it when operations was ready to
> have it become active.
> ADDREPLICAPROP could be used to add it to an active replica and should take
> that replica out of service.
> Whether we can piggy-back off of the core admin UNLOAD here I'm unclear on.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]