You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vivek Mishra (JIRA)" <ji...@apache.org> on 2011/03/07 09:20:59 UTC

[jira] Commented: (CASSANDRA-2259) column values are only being validated in insert()

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

Vivek Mishra commented on CASSANDRA-2259:
-----------------------------------------

@Eric:

Attached code change.
Changes are:
1) introduced a new method validateColumnValue().
2) On call to ThriftValidation.validateMutation() is modified to invoke validateColumnValue().

Patch attached for review.

Let me know if this fine then i can pick up this issue.

> column values are only being validated in insert()
> --------------------------------------------------
>
>                 Key: CASSANDRA-2259
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2259
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Eric Evans
>             Fix For: 0.8
>
>         Attachments: CASSANDRA-2259_v1.0
>
>
> insert() is the only code path that currently results in validate() being called for column values; it is possible to write invalid column values using batch_mutate()

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