You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "deng (JIRA)" <ji...@apache.org> on 2011/09/02 03:42:13 UTC

[jira] [Created] (CASSANDRA-3121) How to know which servers to replication

How to know which servers to replication
----------------------------------------

                 Key: CASSANDRA-3121
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3121
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.8.4
         Environment: Cassandra0.7.5 and Cassandra0.8.4
            Reporter: deng
             Fix For: 0.8.4


When we create keysapce we can  set  replication_factor , Assuming the cluster has five machines here.Node1,Node2,Node3,Node4,Node5. when I create keypsace at Node1 server and set replication_factor =3 ,it means that it will choose 2 servers to backup.

My question is that how we can know which 2 nodes are choosed to backup ? I can not find this answer at Cassandra0.7.5 or Cassandra0.8.4.

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

        

[jira] [Resolved] (CASSANDRA-3121) How to know which servers to replication

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3121.
---------------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 0.8.4)

(a) there is no primary / backup distinction in cassandra

(b) if your app cares about which nodes hold a given row you are almost certainly doing it wrong, but the right place to have that discussion is the user mailing list

> How to know which servers to replication
> ----------------------------------------
>
>                 Key: CASSANDRA-3121
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3121
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.8.4
>         Environment: Cassandra0.7.5 and Cassandra0.8.4
>            Reporter: deng
>
> When we create keysapce we can  set  replication_factor , Assuming the cluster has five machines here.Node1,Node2,Node3,Node4,Node5. when I create keypsace at Node1 server and set replication_factor =3 ,it means that it will choose 2 servers to backup.
> My question is that how we can know which 2 nodes are choosed to backup ? I can not find this answer at Cassandra0.7.5 or Cassandra0.8.4.

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