I have two DC's:
DC1:
- Node1 : RAC1
- Node2 : RAC1
DC2:
- Node3 : RAC1
I am using GossipingPropertyFileSnitch and I have removed file cassandra-topology.properties and only use cassandra-rackdc.properties with below config for each node:
dc=DC1
rack=RAC1
prefer_local=true
On creating a keyspace as below on DC2:
CREATE KEYSPACE "test_rf"
WITH REPLICATION = {
'class' : 'NetworkTopologyStrategy',
'DC1' : 0
'DC2' : 1
};
I assumed that this keyspace, should not be replicated (which I understand as not even seen on) to DC1: Node1 and Node2.
But, I can see the keyspaces in DC1's each node. Also, I can see any table created on DC2 replicated to DC1.
Can someone please explain why this happened ? Or have I missed something completely !!!
DESCRIBE
? – Alex Ott