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] [Resolved] (CASSANDRA-4240) Only check the size of indexed column values when they are of type KEYS
Date Fri, 11 May 2012 01:55:49 GMT

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

Jonathan Ellis resolved CASSANDRA-4240.
---------------------------------------

    Resolution: Won't Fix

It's a pretty deep limitation that you can't index values larger than 64k, because the KEYS
index type turns the indexed values into row keys to look them up.  We record the size of
a row key with 2 bytes, hence the limitation.
                
> Only check the size of indexed column values when they are of type KEYS
> -----------------------------------------------------------------------
>
>                 Key: CASSANDRA-4240
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4240
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.8
>            Reporter: Joaquin Casares
>              Labels: datastax_qa
>
> https://github.com/apache/cassandra/blob/cassandra-1.0.8/src/java/org/apache/cassandra/thrift/ThriftValidation.java#L431
> That line states that: Indexed column values cannot be larger than 64K. But in some cases
we would want the column values to be able to be larger than 64k, specifically if the index_type
is not of type KEYS.

--
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

        

Mime
View raw message