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: CLOSED UPSTREAM
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: 2025-02-10 03:28 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:28:31 UTC
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

Comment 9 Red Hat Bugzilla 2025-02-10 03:28:31 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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