You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ryan McGuire (JIRA)" <ji...@apache.org> on 2013/10/07 19:41:44 UTC

[jira] [Updated] (CASSANDRA-6154) Inserts are blocked in 2.1

     [ https://issues.apache.org/jira/browse/CASSANDRA-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McGuire updated CASSANDRA-6154:
------------------------------------

    Description: 
With cluster sizes >1 inserts are blocked indefinitely:

{code}
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm create -v git:trunk test
Fetching Cassandra updates...
Current cluster is now: test
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm populate -n 2
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm start
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ 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');
{code}

The last INSERT statment never returns..

  was:
With cluster sizes >1 inserts are blocked indefinitely:

{code}
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm create -v git:trunk test
Fetching Cassandra updates...
Current cluster is now: test
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm populate -n 2
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm start
01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ 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');
{code}


> Inserts are blocked in 2.1
> --------------------------
>
>                 Key: CASSANDRA-6154
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6154
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Ryan McGuire
>            Priority: Critical
>
> With cluster sizes >1 inserts are blocked indefinitely:
> {code}
> 01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm create -v git:trunk test
> Fetching Cassandra updates...
> Current cluster is now: test
> 01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm populate -n 2
> 01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ ccm start
> 01:38 PM:~/git/datastax/uniform-sample-data/timeline[master*]$ 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');
> {code}
> The last INSERT statment never returns..



--
This message was sent by Atlassian JIRA
(v6.1#6144)