cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1814) validation is inefficient
Date Wed, 08 Dec 2010 20:45:01 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-1814:
--------------------------------------

         Reviewer: jbellis
      Component/s: Core
         Priority: Minor  (was: Major)
    Fix Version/s: 0.7.0

+1

> validation is inefficient
> -------------------------
>
>                 Key: CASSANDRA-1814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1814
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.0 rc 1
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: v3-0001-type-validations-that-generate-less-garbage.txt
>
>
> We do all validation by simply calling AbstractType.getString().  This generates garbage
needlessly and has a lot of overhead.
> A simpler interface would be to make AbstractType.validate abstract and have the child
classes implement it in an intelligent and efficient way.
> EDIT: Somewhat related:  It looks like we're attempting to validate column names in ThriftValidation.validateColumns().
 Is this intentional?  Nevermind that part. I get it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message