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

Jonathan Ellis updated CASSANDRA-2730:
--------------------------------------

    Attachment: 2730.txt

Attached patch fixes the problem, but requires CASSANDRA-2617 to be finished 
first.

> exception generate when using same index names
> ----------------------------------------------
>
>                 Key: CASSANDRA-2730
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2730
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8 beta 1
>            Reporter: BAONING WU
>              Labels: cql
>         Attachments: 2730.txt
>
>
> when using cqlsh tool to generate indexes, for example, suppose we have a 
> column family Tuser, which has two columns: name and state.
> cqlsh> create index name_key on Tuser(name);
> cqlsh> create index name_key on Tuser(state);
> note that name_key is used twice by mistake, then a 
> javax.management.InstanceAlreadyExistsException will be thrown and this 
> exception will prevent cassandra service from starting any more.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to