You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2015/08/26 10:10:45 UTC

[jira] [Commented] (CASSANDRA-10179) Duplicate index should throw AlreadyExistsException

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

Sam Tunnicliffe commented on CASSANDRA-10179:
---------------------------------------------

The required changes to C* are trivial, but this also needs to update drivers as both the python and java drivers make assumptions about what an AlreadyExistsException means. Those changes are also going to be simple, but just noting that there's a little more involved here because of that coordination.

> Duplicate index should throw AlreadyExistsException
> ---------------------------------------------------
>
>                 Key: CASSANDRA-10179
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10179
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: T Jake Luciani
>            Assignee: Sam Tunnicliffe
>            Priority: Minor
>             Fix For: 3.0.x
>
>
> If a 2i already exists we currently throw a InvalidQueryException.  This should be a AlreadyExistsException for consistency like trying to create the same CQL Table twice.



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