Bee
Bee

Reputation: 12513

How to change num_tokoens in Cassandra?

I want to change num_tokens value in Cassandra 2.0. But If I do that, I need to delete my existing data. Otherwise it throws an error saying it can't change this configuration.

Is there a way I can do this change without deleting my existing data?

Thanks.

Upvotes: 1

Views: 851

Answers (1)

malyy
malyy

Reputation: 874

If you want to change the number of virtual nodes on an existing node, you need to rebuild the data on the node. See this.

Upvotes: 3

Related Questions