Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-8694

Repair of empty keyspace hangs rather than ignoring the request

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.3
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jjirsa Jeff Jirsa Assign to me
            enigmacurry Ryan McGuire
            Jeff Jirsa
            Yuki Morishita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment