cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5166) Saved key cache is not loaded when opening ColumnFamily
Date Wed, 16 Jan 2013 23:04:12 GMT
Yuki Morishita created CASSANDRA-5166:
-----------------------------------------

             Summary: Saved key cache is not loaded when opening ColumnFamily
                 Key: CASSANDRA-5166
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5166
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.1.3
            Reporter: Yuki Morishita
            Assignee: Yuki Morishita
         Attachments: 0001-key-cache-loading-test.patch, 0002-fix-loading-key-cache.patch

_This bug happens on cassandra version 1.1.3 ~ 1.1.x only_

In order to load key cache in SSTableReader#open, keyCache has to be set by calling setTrackedBy
before loading. CASSANDRA-4436 changed the order to load then setTrackedBy, so saved key cache
is never loaded.
In 1.2, key cache stores both key and position, and is loaded out side of SSTableReader so
the issue only happens on 1.1.x branch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message