cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sammy Yu (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-423) add new LRU cache
Date Sat, 05 Sep 2009 05:40:57 GMT


Sammy Yu updated CASSANDRA-423:

    Comment: was deleted

(was: Attached first version using SOLR's LRUConcurrentCache.

There are some opened questions.  One regarding how to configure the cache, it has a lowWatermark
and acceptableWaterMark, I've made some questionable code to allow this to use KeysCachedFraction.
 If size is less than 0, force key size to 1 and lowWaterMark to 0.

There's also a second hack which calls destroy on construction of keycache this is because
by default the finalize() method will log an error message if the destroy has been set.

See code at

> add new LRU cache
> -----------------
>                 Key: CASSANDRA-423
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Jonathan Ellis
>             Fix For: 0.5
>         Attachments: 0001-CASSANDRA-423-Committed-first-version-using-Solr-s-C.patch,

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message