cassandra-commits mailing list archives

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

             Summary: Use CF comparator to sort indexed columns in SecondaryIndexManager
                 Key: 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:!default.jspa
For more information on JIRA, see:


View raw message