Noble Paul created SOLR-10798:
---------------------------------
Summary: 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]