[
https://issues.apache.org/jira/browse/CASSANDRA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726059#action_12726059
]
Hudson commented on CASSANDRA-266:
----------------------------------
Integrated in Cassandra #125 (See
[http://hudson.zones.apache.org/hudson/job/Cassandra/125/])
more consistent checking of thrift parameters; fixes multiple bugs.
patch by jbellis; reviewed by Evan Weaver for
> Thrift validation bugs
> ----------------------
>
> Key: CASSANDRA-266
> URL: https://issues.apache.org/jira/browse/CASSANDRA-266
> Project: Cassandra
> Issue Type: Bug
> Reporter: Evan Weaver
> Assignee: Jonathan Ellis
> Attachments: 266.patch
>
>
> Server does not raise on invalid insert into regular ColumnFamily
> DEBUG - Applying RowMutation(table='Twitter', key='8',
> modifications=[ColumnFamily(Statuses [body:false:5...@1246336092])])
> DEBUG - RowMutation(table='Twitter', key='8',
> modifications=[ColumnFamily(Statuses [body:false:5...@1246336092])]) applied.
> OK
> DEBUG - Applying RowMutation(table='Twitter', key='8',
> modifications=[ColumnFamily(Statuses [fhwagads:body:false:5...@1246336111])])
> DEBUG - RowMutation(table='Twitter', key='8',
> modifications=[ColumnFamily(Statuses [fhwagads:body:false:5...@1246336111])])
> applied.
> Not ok... "Statuses:fhwagads:body" insert should have failed. For example:
> java.lang.IllegalArgumentException: Column Family
> Statuses:fhwagads:fhwagads:body in invalid format. Must be in <column
> family>:<column> format.
> Also:
> You can request an array of values via get_slice_by_names, and you can
> request an array of columns via get_super_slice_by_names, but you can't
> request an array of values through a supercolumn via either one. "Ideally"
> get_slice_by_names should allow a supercolumn specification like below:
> InvalidRequestException: Column Family StatusRelationships:user_timelines is
> invalid.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.