[jira] [Commented] (CASSANDRA-11492) Crash during CREATE KEYSPACE immediately after drop

2016-04-20 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15250223#comment-15250223
 ] 

Sylvain Lebresne commented on CASSANDRA-11492:
--

bq. This is actually on a single-node cluster, so I don't think it's a race 
condition.

Interesting. Then I admit having no particular idea on what the problem could 
be. Please do keep us posted if you can reproduce as I'm not entirely sure 
where we could start looking at without reproduction steps tbh.

> Crash during CREATE KEYSPACE immediately after drop
> ---
>
> Key: CASSANDRA-11492
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11492
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Seth Rosenblum
>
> In a test environment, I run in immediate sequence:
> {code:sql}
> DROP KEYSPACE IF EXISTS "keyspacename";
> CREATE KEYSPACE "keyspacename"
> WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 
> 1};
> {code}
> And I end up with a {{java.lang.AssertionError: null}} error triggered during 
> the CREATE statement.
> https://gist.github.com/sethrosenblum/d6b450b4455eeb28550f4038a0928bcf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11492) Crash during CREATE KEYSPACE immediately after drop

2016-04-20 Thread Seth Rosenblum (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15250121#comment-15250121
 ] 

Seth Rosenblum commented on CASSANDRA-11492:


This is actually on a single-node cluster, so I don't think it's a race 
condition.  This was being executed with the python datastax driver (I think it 
happened on both version 2.1.4 and 3.1.1, we were in the process of upgrading) 
but we were seeing this error in Cassandra's logs.  I'll keep an eye out for it 
happening again.

> Crash during CREATE KEYSPACE immediately after drop
> ---
>
> Key: CASSANDRA-11492
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11492
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Seth Rosenblum
>
> In a test environment, I run in immediate sequence:
> {code:sql}
> DROP KEYSPACE IF EXISTS "keyspacename";
> CREATE KEYSPACE "keyspacename"
> WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 
> 1};
> {code}
> And I end up with a {{java.lang.AssertionError: null}} error triggered during 
> the CREATE statement.
> https://gist.github.com/sethrosenblum/d6b450b4455eeb28550f4038a0928bcf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-11492) Crash during CREATE KEYSPACE immediately after drop

2016-04-05 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15225939#comment-15225939
 ] 

Sylvain Lebresne commented on CASSANDRA-11492:
--

I suppose it's a multi-node cluster?

Schema changes in C* are currently unfortunately inherently racy. It is thus up 
to the client to wait for schema agreement between schema changes (if they 
conflict at least, which they do in this case). In theory, this is handled 
under the hood by your client driver but that obviously a bit dependent of said 
driver. If you give us more informations on which driver you use for this (or, 
if it's cqlsh, which version of cqlsh this is), we might be able to say for 
sure if that's the problem or if it's something else.

> Crash during CREATE KEYSPACE immediately after drop
> ---
>
> Key: CASSANDRA-11492
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11492
> Project: Cassandra
>  Issue Type: Bug
>Reporter: Seth Rosenblum
>
> In a test environment, I run in immediate sequence:
> {code:sql}
> DROP KEYSPACE IF EXISTS "keyspacename";
> CREATE KEYSPACE "keyspacename"
> WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 
> 1};
> {code}
> And I end up with a {{java.lang.AssertionError: null}} error triggered during 
> the CREATE statement.
> https://gist.github.com/sethrosenblum/d6b450b4455eeb28550f4038a0928bcf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)