Bug 974403 - RFE: LevelDB cache store support
Summary: RFE: LevelDB cache store support
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: DR4
: 6.2.0
Assignee: Tristan Tarrant
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks: 975081 974409 974411
TreeView+ depends on / blocked
 
Reported: 2013-06-14 07:12 UTC by Takayoshi Kimura
Modified: 2014-03-17 04:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Feature Request


Attachments (Terms of Use)
standalone.xml with LevelDB cachestore (9.99 KB, text/xml)
2013-06-17 14:11 UTC, Tristan Tarrant
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-2657 0 Major Resolved Support for LevelDB CacheStore 2015-11-03 02:23:03 UTC

Comment 1 Tristan Tarrant 2013-06-16 20:43:56 UTC
Built in Brew/MEAD:

https://brewweb.devel.redhat.com/taskinfo?taskID=5909632

The server itself is http://download.devel.redhat.com/brewroot/work/tasks/9632/5909632/com/jboss/datagrid/jboss-datagrid-server/6.1.0.GA-redhat-2/jboss-datagrid-server-6.1.0.GA-redhat-2.zip

Add

- leveldb-0.6.jar in modules/org/iq80/leveldb/main
- leveldb-api-0.6.jar in modules/org/iq80/leveldb/api/main

modify the respective module.xml to include those jars in the resources, e.g.:

<resources>
        <resource-root path="leveldb-0.6.jar"/>
        <!-- Insert resources here -->
</resources>

Add the following to a cache definition in standalone.xml to configure the database

<store class="org.infinispan.loaders.leveldb.LevelDBCacheStore">
<property name="location" value="/path/to/leveldb/data" />
</store>

Comment 2 Tristan Tarrant 2013-06-17 14:11:00 UTC
Created attachment 762038 [details]
standalone.xml with LevelDB cachestore

Comment 5 Martin Gencur 2013-09-16 11:13:49 UTC
This feature has been developed for JDG 6.2 DR4. So I'm setting this to VERIFIED even though mlinhard found some issues, which stay open:

https://bugzilla.redhat.com/show_bug.cgi?id=1007947 EntrySet operation 
in cache with LevelDB store ignores expiration
https://bugzilla.redhat.com/show_bug.cgi?id=1007756 LevelDB Cache store 
in server doesn't keep data between restarts


Note You need to log in before you can comment on or make changes to this bug.