1

I want to completely repair a Cassandra 2.2 cluster composed of 3 datacenters (dc1, dc2, dc3) by running only one single command line on a single node. Do I need to run?

nodetool repair

or

nodetool repair -dc dc1,dc2,dc3

or I'm totally wrong? are those 2 commands repairing all token ranges of all cluster nodes?

Greg M.
  • 41
  • 3

1 Answers1

1

For complete repair of any Cassandra cluster, you need to run 'nodetool repair' on all nodes, one by one, at least once before reaching the time specified in the gc_grace_seconds setting.

You can't repair whole cluster running repair command on one node because that node doesn't contain all data.

deniszh
  • 142
  • 7