cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McGuire (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6154) Inserts are blocked in 2.1
Date Mon, 07 Oct 2013 17:43:41 GMT

     [ 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 statement 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}

The last INSERT statment never returns..


> 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 statement never returns..



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

Mime
View raw message