cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6238) LOCAL_ONE doesn't work for SimpleStrategy
Date Fri, 25 Oct 2013 07:46:31 GMT

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

Alex Liu commented on CASSANDRA-6238:
-------------------------------------

I understand it comes as the same way as original LOCAL_QUORUM.

SimpleStrategy is for a cluster without multiple DCs. NTS is for multiple DC cluster. SimpleStrategy
could be treated as a special NTS that is only for a one DC cluster.

The default CL of Cassandra Hadoop integration is LOCAL_ONE now, it should work for all types
of strategy.  LOCAL_ONE looks like a better candidate as a default CL than ONE. When people
first start using C*, it is common to be a one DC cluster, then later it may grow up to  a
multiple DC cluster. If LOCAL_ONE work for all types of strategy,  manual change the default
CL is not needed.  If we keep LOCAL_* requiring NTS, we has to update all the hadoop/pig examples
and tests to use ONE. 

The main reason to make LOCAL_* work for all types of strategy is that LOCAL_* are better
candidates as default CLs. The default CL should work for all types of strategy.



> LOCAL_ONE doesn't work for SimpleStrategy
> -----------------------------------------
>
>                 Key: CASSANDRA-6238
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6238
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Alex Liu
>            Assignee: Alex Liu
>             Fix For: 1.2.12, 2.0.3
>
>         Attachments: 6238.txt, 6238-v2.txt
>
>
> LOCAL_ONE only works for NetworkTopologyStrategy which has DC specification. Any other
strategy fails.
> If there is no  DC specified in the strategy, we should treat LOCAL_ONE as ONE



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message