deenbandhu
deenbandhu

Reputation: 599

How nodetool rebuild works

I have cluster of 4 cassandra nodes in aws singapore region (4 cores,32 GB RAM). I need to migrate it to mumbai region so i created a new cluster of 3 nodes in mumbai region and named it as a different datacenter and changed the clients accordingly. I run nodetool rebuild to replicate the data from old datacenter to new datacenter. Data on disk is showing around 150GB but when i run nodetool status is showing only 26 GB. Cassandra version 3.9. The nodetool rebuild is still running.

Upvotes: 1

Views: 1271

Answers (1)

nevsv
nevsv

Reputation: 2466

150GB can be backups/snapshots/stale data. Check the sub directories of data.

When you created new cluster, did you copied data from the old one/used image of old server?

Nodetool rebuild should copy all the data.

Upvotes: 0

Related Questions