[
https://issues.apache.org/jira/browse/CASSANDRA-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986648#action_12986648
]
ivan commented on CASSANDRA-2051:
---------------------------------
patch 2 much better. thanks Jonathan. ;)
i pulled latest trunk and applied patch in 2051-2.txt.
it seems that communication between nodes and DCs works as expected.
> Fixes for multi-datacenter writes
> ---------------------------------
>
> Key: CASSANDRA-2051
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2051
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7.1
> Reporter: Jonathan Ellis
> Assignee: ivan
> Fix For: 0.7.1
>
> Attachments: 2051-2.txt, rep_fix_02.patch
>
>
> Copied from CASSANDRA-982:
> * Message::removeHeader
> message.setHeader(RowMutation.FORWARD_HEADER, null) throws
> NullPointerException
> * db/RowMutationVerbHandler::forwardToLocalNodes
> set correct destination address for sendOneWay
> * response(ReadResponse result) added to DatacenterReadCallback
> otherwise ReadCallback will process local results and condition will be
> never signaled in DatacenterReadCallback
> * FORWARD header removed in StorageProxy::sendMessages if dataCenter
> equals to localDataCenter
> (if a non local DC processed before local DC FORWARD header will be set
> when unhintedMessage used in sendToHintedEndpoints. one instance of Message
> used for unhintedMessage)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.