You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/03/10 11:45:59 UTC

[jira] Commented: (CASSANDRA-2306) generate endpointList depending on command type (read or write)

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

Sylvain Lebresne commented on CASSANDRA-2306:
---------------------------------------------

What is the point of this ?

Looking (very quickly) at the patch, it seems the difference is that for read command, you only ever select endpoints from the the local data center. But this would mean that you won't ever be able to do a QUORUM or ALL unless you have enough replicas in the local datacenter, which is a serious drawback in many situation.

This is also unnecessary performance wise, because a well configured snitch will make sure you always choose endpoints in the local datacenter in priority (for reads and writes).

> generate endpointList depending on command type (read or write)
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-2306
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2306
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: ivan
>            Priority: Minor
>         Attachments: rw_sep.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira