We are in the process of moving our cassandra cluster ( version 1.1.6 ) from our old DC ( DC2 ) to a new DC ( DC1 - yes the are reversed) one keyspace at a time.
We have 3 keyspaces A, B and C:
A and B have already been successfully moved to the new datacenter and were running with a replication factor of DC1:3;DC2:3. All our applications for these two keyspaces have been updated so that nothing is writing/reading from the old datacenter. We then changed the replication factor to DC1:3;DC2:0 so the data is now actually stale.
I was trying to find a way to delete these keyspaces in the old DC to free up the space i need for Keyspace C, but i haven't found one.
Is there a way of dropping a keyspace from a singe data center, or better work around for removing the data from the old DC?
{DC1:3}and there is no DC2? - Nishantnodetool cleanup A- tnosajAdirectory in thedata_directoryon all the machines in DC2. This should theoretically be fine. - Nishant