Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
Create a two node cluster, create a keyspace, don't create any tables. Initiate a repair:
04:32 PM:~$ ccm create -v git:cassandra-2.1 test -n 2 -s Fetching Cassandra updates... Current cluster is now: test 04:33 PM:~$ ccm node1 cqlsh Connected to test at 127.0.0.1:9042. [cqlsh 5.0.1 | Cassandra 2.1.2-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3] Use HELP for help. cqlsh> create KEYSPACE test WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 2}; cqlsh> 04:34 PM:~$ ccm node1 nodetool -- repair [2015-01-27 16:34:11,741] Nothing to repair for keyspace 'system' [2015-01-27 16:34:11,748] Starting repair command #1, repairing 2 ranges for keyspace test (parallelism=SEQUENTIAL, full=true)
The repair hangs.
Do the same thing but add a table, and the repair completes very quickly.