No, not an issue. The nodes in DC2 know that they aren't supposed to
have data, so they go ask the nodes in DC1 for the data to return to you.
-Jeremiah
On 02/09/2012 05:28 AM, Roshan Pradeep wrote:
Thanks Peter for the replies.
Previously it was a typing mistake and it should be "getting".
Thanks Peter for the replies.
Previously it was a typing mistake and it should be "getting". I checked
the DC2 (with having replica 0) and noticed that there is no SSTables
created.
I use java hector sample program to insert data to the keyspace. After I
insert a data item, I
1) Login to one of n
Again the *schema* gets propagated and the keyspace will exist
everywhere. You should just have exactly zero amount of data for the
keyspace in the DC w/o replicas.
--
/ Peter Schuller (@scode, http://worldmodscode.wordpress.com)
> Thanks for the reply. But I can see the data setting inserted in DC1 in DC2.
> So that means data also getting replicated to DC2.
"data setting inserted"?
You should not be seeing data in the DC with 0 replicas. What does
"data setting inserted" mean?
Do you have sstables on disk with data for
Thanks for the reply. But I can see the data setting inserted in DC1 in DC2.
So that means data also getting replicated to DC2.
Want to know how to restrict this?
--
View this message in context:
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-1-0-6-multi-data-center-
It is expected that the schema is replicated everywhere, but *data*
won't be in the DC with 0 replicas.
--
/ Peter Schuller (@scode, http://worldmodscode.wordpress.com)
I have create the Keyspace like below, but the result is same. All the data
getting replicated to all over the cluster instead of DC1.
create keyspace WSDC
with placement_strategy =
'org.apache.cassandra.locator.NetworkTopologyStrategy' and strategy_options
= {DC1:1,DC2:0};
--
View this messa
Hi All
I have 2 Cassandra data center (DC1=>1 node, DC2=>2 nodes).
XXX.XXX.XXX.XXX DC2 RAC1Up Normal 44.3 KB
33.33% 0
YYY.YYY.YY.YYY DC1 RAC1Up Normal 48.71 KB
33.33% 567137278201564074289847793