incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <>
Subject [jira] [Commented] (S4-82) Fix local communication optimization
Date Thu, 19 Jul 2012 09:35:34 GMT


Matthieu Morel commented on S4-82:

Note that the proposed patch assumes that the partition never changes. In AssignmentFromZK,
the partition is fetched upon Zookeeper connection initialization. If the connection is lost,
we should actually fail-fast and kill the current node, so that no other partition is fetched.
This is related to S4-85.
> Fix local communication optimization
> ------------------------------------
>                 Key: S4-82
>                 URL:
>             Project: Apache S4
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Matthieu Morel
>             Fix For: 0.5
> When a message is to be sent to the current partition, a simple optimization is to bypass
the communication layer. This is the purpose of the "sendAndCheckIfLocal" method in the Sender
class. Unfortunately, it seems the localPartitionId variable is never set!

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