Reputation: 141
I have 4 keyspaces and 1 "DC1," with 3 keyspaces using SimpleStrategy
and 1 of them using NetworkTopologyStrategy`. I want to add a new "DC2" data center. Replication will be set as DC1:3 and DC2:3.
Will it possible to replicate only one keyspace to the new DC? This means that 3 keyspaces only replicate to DC1 and 1 keyspace replicates to BOTH DC1 and DC2.
Please confirm, is it possible for partial replication between DCs or not?
Upvotes: 2
Views: 71
Reputation: 87234
Yes, you can replicate keyspace between only required DCs - there is no requirement for replicating to all data centers, except some system keyspaces.
But be careful - before adding the new DC, change all existing keyspaces to use network topology strategy - if you continue to use simple strategy, data from that keyspaces will go to new DC as well. Refer to DSE Admin guide for details on how to do it
Upvotes: 2