Bug 1007756

Summary: LevelDB Cache store in server doesn't keep data between restarts
Product: [JBoss] JBoss Data Grid 6 Reporter: Michal Linhard <mlinhard>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: jdg-bugs, mgencur, nobody
Target Milestone: ER2   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010419    

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