You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/06/01 21:45:47 UTC

[jira] [Updated] (CASSANDRA-2730) exception generate when using same index names

     [ 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