You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/08 09:49:00 UTC

[jira] [Commented] (SOLR-13674) NodeAddedTrigger does not support configuration of replica type hint

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

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

Commit ed137dbe281cfb314af340673a7b646922a2e7d1 in lucene-solr's branch refs/heads/master from Shalin Shekhar Mangar
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=ed137db ]

SOLR-13674: NodeAddedTrigger does not support configuration of replica type hint.

A new replicaType property has been added to NodeAddTrigger so that new replicas of the given type are added when the preferredOp is addreplica. The default value of replicaType is `NRT`.

This closes #821.


> NodeAddedTrigger does not support configuration of replica type hint
> --------------------------------------------------------------------
>
>                 Key: SOLR-13674
>                 URL: https://issues.apache.org/jira/browse/SOLR-13674
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.6
>            Reporter: Irena Shaigorodsky
>            Assignee: Shalin Shekhar Mangar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The current code org.apache.solr.cloud.autoscaling.ComputePlanAction#getNodeAddedSuggester only sets COLL_SHARD hint, as a result any added replica will be NRT one.
> Our current setup has TLOG nodes on physical hardware and PULL nodes on k8s that are recycled periodically. An attempt to add those will bring the nodes in the cluster as NRT one.
> The root cause is org.apache.solr.client.solrj.cloud.autoscaling.AddReplicaSuggester#tryEachNode that expects to find the hint REPLICATYPE and defaults to NRT one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org