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-5706) OOM while loading key cache at startup
Date Wed, 26 Jun 2013 22:08:20 GMT

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

Jonathan Ellis updated CASSANDRA-5706:
--------------------------------------

    Affects Version/s:     (was: 1.2.5)
                       1.2.0

(actually, annotate says this dates back to CASSANDRA-3762)
                
> OOM while loading key cache at startup
> --------------------------------------
>
>                 Key: CASSANDRA-5706
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5706
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Fabien Rousseau
>            Assignee: Fabien Rousseau
>             Fix For: 1.2.7
>
>         Attachments: 5706-OOM-while-loading-key-cache-at-startup.patch
>
>
> Steps to be able to reproduce it :
>  - have a heap of 1Gb
>  - have a saved key cache without the SSTables
> When looking at KeyCacheSerializer.serialize : it always writes a Boolean
> When looking at KeyCacheSerializer.deserialize : no Boolean is read if SSTable is missing...
> In case of a promoted index, RowIndexEntry.serializer.skip(...) should be called rather
than RowIndexEntry.serializer.skipPromotedIndex(...) (again for symmetry between serialization/deserialization)
> Attached is a proposed patch

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