incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (Updated) (JIRA)" <>
Subject [jira] [Updated] (S4-7) Netty to tolerate network glitches and connection loss
Date Thu, 22 Mar 2012 03:57:46 GMT


Karthik Kambatla updated S4-7:

    Attachment: S4-7-2.patch

I have attached the patch S4-7-2.patch to be applied on the apache/S4-7-FIX branch. The patch
has 4 commits and solves the two bugs that Matthieu has pointed out.

On a different note, I finally figured out how to generate a single patch file for multiple

git format-patch -4 HEAD --stdout > S4-7-2.patch
> Netty to tolerate network glitches and connection loss
> ------------------------------------------------------
>                 Key: S4-7
>                 URL:
>             Project: Apache S4
>          Issue Type: Bug
>            Reporter: Leo Neumeyer
>            Assignee: Karthik Kambatla
>             Fix For: 0.5
>         Attachments: S4-7-2.patch, S4-7.patch
> NettyEmitter connects to different partitions and creates channels over which it communicates
to other listeners.
> It suffers from the following issues -- 
> 1. If the underlying topology changes, the channels and the associated connections are
not updated.
> 2. If a connection gets disconnected, it stays disconnected.
> 3. If for any reason, a connection can't be made, send() drops the message to be sent.
> The solution is to - 
> 1. Maintain a bounded messageQueue for each destination partition - if a connection does
not exist, the message should be queued.
> 2. Maintain a map of the channel used for each destination partition - update this map
on changes to topology, or on send() in case of disconnections.
> 3. Every time a (re-)connection is made, send the queued messages first.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message