[
https://issues.apache.org/jira/browse/CASSANDRA-7590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072169#comment-14072169
]
Hanh Dang commented on CASSANDRA-7590:
--------------------------------------
Might want to check the condition of CREATE KEYSPACE as well if it hasn't been
checked, since I'm seeing the AE when there's an existing keyspace with the
following cases:
cqlsh:devc> CREATE KEYSPACE IF NOT EXISTS videodb WITH REPLICATION = { 'class'
: 'SimpleStrategy', 'replication_factor' : 1 };
<ErrorMessage code=0000 [Server error] message="java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.AssertionError">
cqlsh:devc> CREATE KEYSPACE videodb WITH REPLICATION = { 'class' :
'SimpleStrategy', 'replication_factor' : 1 };
<ErrorMessage code=0000 [Server error] message="java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.AssertionError">
> java.lang.AssertionError when using DROP INDEX IF EXISTS on non-existing index
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-7590
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7590
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Hanh Dang
> Assignee: Robert Stupp
> Priority: Minor
> Labels: cql
> Fix For: 2.1.0
>
> Attachments: 7590-drop-index-npe-assert.txt
>
>
> To reproduce:
> cqlsh> CREATE KEYSPACE test WITH REPLICATION = {'class':'SimpleStrategy',
> 'replication_factor':1};
> cqlsh> USE test;
> cqlsh:test> DROP INDEX IF EXISTS fake_index;
> <ErrorMessage code=0000 [Server error] message="java.lang.AssertionError">
--
This message was sent by Atlassian JIRA
(v6.2#6252)