cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ivan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1664) NetworkTopologyStrategy + DCQUORUM
Date Tue, 26 Oct 2010 10:19:22 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ivan updated CASSANDRA-1664:
----------------------------

    Description: 
We experience TSocket: timed out reading expections randomly using DCQUORUM.
In log we see that sometimes responses are not sent to client.

Read requests are sent to all cluster members instead of member of a DC.

Attached patch adds a new commandType argument to *NaturalEndpoint methods.
It's needed to separate endpoint list for read and write commands, so for read requests endpoint
list will contain servers in local DC.
For write requests endpoints provided in all DCs.

In DatacenterQuorumResponseHandler.response signal is not sent in case of a version mismatch.
(In this case we experienced timed out reading exceptions.)

  was:
We experience TSocket: timed out reading expections randomly using DCQUORUM.
In log we see that sometimes responses are not sent to client.

Read requests are sent to all cluster members instead of member of a DC.



> NetworkTopologyStrategy + DCQUORUM
> ----------------------------------
>
>                 Key: CASSANDRA-1664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1664
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 2
>         Environment: Linux 2.6.18
> JVM 6b11
>            Reporter: ivan
>         Attachments: ntrs.patch
>
>
> We experience TSocket: timed out reading expections randomly using DCQUORUM.
> In log we see that sometimes responses are not sent to client.
> Read requests are sent to all cluster members instead of member of a DC.
> Attached patch adds a new commandType argument to *NaturalEndpoint methods.
> It's needed to separate endpoint list for read and write commands, so for read requests
endpoint list will contain servers in local DC.
> For write requests endpoints provided in all DCs.
> In DatacenterQuorumResponseHandler.response signal is not sent in case of a version mismatch.
> (In this case we experienced timed out reading exceptions.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message