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

Inserts are blocked in 2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • None
    • None
    • None
    • Critical

    Description

      With cluster sizes >1 inserts are blocked indefinitely:

      $ ccm create -v git:trunk test
      Fetching Cassandra updates...
      Current cluster is now: test
      $ ccm populate -n 2
      $ ccm start
      $ ccm node1 cqlsh
      Connected to test at 127.0.0.1:9160.
      [cqlsh 4.0.1 | Cassandra 2.1-SNAPSHOT | CQL spec 3.1.1 | Thrift protocol 19.37.0]
      Use HELP for help.
      cqlsh> CREATE KEYSPACE timeline WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
      cqlsh> USE timeline;
      cqlsh:timeline> CREATE TABLE user_events (userid text, event timestamp, value text, PRIMARY KEY (userid, event));
      cqlsh:timeline> INSERT INTO user_events (userid, event , value ) VALUES ( 'ryan', '2013-10-07', 'attempt');
      

      The last INSERT statement never returns..

      Attachments

        1. 6154.txt
          4 kB
          Jonathan Ellis
        2. 6154-v2.txt
          4 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            enigmacurry Ryan McGuire
            Jonathan Ellis
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: