incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kanwar Sangha <kan...@mavenir.com>
Subject NetworkTopology
Date Fri, 01 Mar 2013 02:19:31 GMT
Hi - Quick question. When specifying the replication across 2 DCs, can we have 1 replication
factor across 2 Data centres ? Does the below mean that there will be 2 copies of the data
, 1 in DC1 and 1 in DC2 ?

[default@unknown] CREATE KEYSPACE test
      WITH placement_strategy = 'NetworkTopologyStrategy'
      AND strategy_options={DC1:1,DC2:1};

So if I specify , DC1:2,DC2:2 - This means we have total 4 copies ? 2 in DC1 and 2 in DC2
?



Thanks,
Kanwar





Mime
View raw message