[
https://issues.apache.org/jira/browse/SOLR-10798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033314#comment-16033314
]
Tomás Fernández Löbbe commented on SOLR-10798:
----------------------------------------------
LGTM Noble.
> Add support for different replica types in the new policy framework
> -------------------------------------------------------------------
>
> Key: SOLR-10798
> URL: https://issues.apache.org/jira/browse/SOLR-10798
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
>
> The current syntax is for
> example
> {code}
> //ensures that at least 2 replicas go to servers with port 8983
> {"replica":">1", "shard":"#ANY" ,"port":8983}
> {code}
> We should add an implicit attribute called {{type}} and the value of {{type}}
> can be {{NRT}} (default) , {{TLOG}} or {{PULL}}
> so a policy would look as follows
> {code}
> {"replica":"1", "shard":"#ANY" ,"port":8983, "type":"NRT"}
> {"replica":"1", "shard":"#ANY" ,"port":7574, "type":"PULL"}
> {"replica":"1", "shard":"#ANY" ,"port":7573, "type":"TLOG"}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]