cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vivek Mishra (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2259) column values are only being validated in insert()
Date Mon, 07 Mar 2011 08:20:59 GMT

    [ 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

Mime
View raw message