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

Hudson commented on CASSANDRA-3422:
-----------------------------------

Integrated in Cassandra-0.8 #411 (See 
[https://builds.apache.org/job/Cassandra-0.8/411/])
    Detect misuses of CounterColumnType
patch by slebresne; reviewed by jbellis for CASSANDRA-3422

slebresne : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1211486
Files : 
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/config/CFMetaData.java
* 
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/CreateColumnFamilyStatement.java

                
> Can create a Column Family with comparator CounterColumnType which is 
> subsequently unusable
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3422
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3422
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Kelley Reynolds
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 0.8.9, 1.0.6
>
>         Attachments: 3422-v2.patch, 3422.patch
>
>
> It's probably the case that this shouldn't be allowed at all but one is 
> currently allowed to create a Column Family with comparator CounterColumnType 
> which then appears unusable.
> CREATE COLUMNFAMILY comparator_cf_counter (id text PRIMARY KEY) WITH 
> comparator=CounterColumnType
> # Fails
> UPDATE comparator_cf_counter SET 1=1 + 1 WHERE id='test_key'
> Error => invalid operation for non commutative columnfamily 
> comparator_cf_counter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to