Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The current syntax is for
example
//ensures that at least 2 replicas go to servers with port 8983 {"replica":">1", "shard":"#ANY" ,"port":8983}
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
{"replica":"1", "shard":"#ANY" ,"port":8983, "type":"NRT"} {"replica":"1", "shard":"#ANY" ,"port":7574, "type":"PULL"} {"replica":"1", "shard":"#ANY" ,"port":7573, "type":"TLOG"}