Bug 1007756 - LevelDB Cache store in server doesn't keep data between restarts
Summary: LevelDB Cache store in server doesn't keep data between restarts
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER2
: 6.2.0
Assignee: Tristan Tarrant
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks: 1010419
TreeView+ depends on / blocked
 
Reported: 2013-09-13 09:24 UTC by Michal Linhard
Modified: 2023-03-02 08:27 UTC (History)
3 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3504 0 Major Resolved LevelDB Cache store in server doesn't keep data between restarts 2014-07-01 01:53:37 UTC

Description Michal Linhard 2013-09-13 09:24:35 UTC
https://issues.jboss.org/browse/ISPN-3504

JDG 6.2.0.DR4

Comment 2 JBoss JIRA Server 2013-09-16 12:10:50 UTC
Michal Linhard <mlinhard> made a comment on jira ISPN-3504

OK, this is most probably caused by using different file names in start and clear methods:

in start() we call:
{code}
      db = openDatabase(configuration.location() + cacheFileName, configuration.dataDbOptions());
{code}

in reinitAllDatabases() we have:
{code}
      db = reinitDatabase(configuration.location(), configuration.dataDbOptions());
{code}

Comment 3 JBoss JIRA Server 2013-09-16 12:13:28 UTC
Michal Linhard <mlinhard> made a comment on jira ISPN-3504

This causes that after cache.clear() operation, the cache store writes to different file than initially and when the server is restarted again, the expected data is not there.

Comment 5 Michal Linhard 2013-10-08 13:32:11 UTC
Verified for 6.2.0.ER2


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