cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4365) Use CF comparator to sort indexed columns in SecondaryIndexManager
Date Thu, 21 Jun 2012 13:58:42 GMT

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

Sylvain Lebresne updated CASSANDRA-4365:
----------------------------------------

    Attachment: 4365.txt
    
> Use CF comparator to sort indexed columns in SecondaryIndexManager
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-4365
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4365
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 1.1.2
>
>         Attachments: 4365.txt
>
>
> SecondaryIndexManager is supposed to have it's internal map sorted according to the base
CF comparator, but instead it sorts using the byte buffer natural ordering.
> This order is carried along by the sorted set returned by getIndexedColumns(), which
in turns end up in a NamesQueryFilter when reading indexed columns, so the order should really
be the CF one.
> I'll note that I don't think this is a bug because SSTableNamesIterator don't in fact
rely on the actual ordering of the names. But it's worth fixing to avoid future problems.

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