helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-626) Enable specify the number of recipient when sending a message
Date Fri, 15 Jan 2016 20:18:39 GMT

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

ASF GitHub Bot commented on HELIX-626:
--------------------------------------

GitHub user jicongrui opened a pull request:

    https://github.com/apache/helix/pull/43

    [HELIX-626] Enable maxRecipient in Criteria

    Helix allow messages to be sent to a partition with specific state. e.g. Sending message
to PARTITION_8 whose state is SLAVE.
    However, sometimes user wish the message is sent to only ONE SLAVE rather than ALL SLAVEs,
e.g. A backup message should be sent to only ONE SLAVE.
    
    This diff adds a new field in Criteria which allows user to specify maxReceipts, by default
maxReceipts is null means no uplimit. In previous case, user just set maxReceipts as 1 and
message would be sent to only 1 SLAVE.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jicongrui/helix helix-0.6.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/helix/pull/43.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #43
    
----
commit 43fd5df815f65b4c667425a80b19e22257880ca9
Author: Congrui Ji <cji@linkedin.com>
Date:   2016-01-15T20:14:28Z

    [HELIX-626] Enable maxRecipient in Criteria

----


> Enable specify the number of recipient when sending a message
> -------------------------------------------------------------
>
>                 Key: HELIX-626
>                 URL: https://issues.apache.org/jira/browse/HELIX-626
>             Project: Apache Helix
>          Issue Type: Task
>            Reporter: Congrui Ji
>
> Helix allow messages to be sent to a partition with specific state. e.g. Sending message
to PARTITION_8 whose state is SLAVE.
> However, sometimes user wish the message is sent to only ONE SLAVE rather than ALL SLAVEs,
e.g. A backup message should be sent to only ONE SLAVE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message