lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10798) Add support for different replica types in the new policy framework
Date Wed, 12 Jul 2017 12:28:00 GMT

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

Shalin Shekhar Mangar commented on SOLR-10798:
----------------------------------------------

This has introduced a incompatible change in the output of the diagnostics API. The key {{violation/delta}}
is removed in favor of {{violation/replica/NRT}}.

 Either we fix the incompatibility or note the breaking change in the CHANGES.txt for 7.1

> 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.4.14#64029)

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


Mime
View raw message