Bug 745915 (EDG-11)

Summary: replaceWithVersionAsync on RemoteCache (HotRod) fails to set lifespan of cache entries
Product: [JBoss] JBoss Data Grid 6 Reporter: Martin Gencur <mgencur>
Component: unspecifiedAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jdg-bugs, jvilkola, mgencur
Target Milestone: ---   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-11
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Infinispan 5.0.0.FINAL, JBossAS 7.1-SNAPSHOT
Last Closed: 2011-08-12 14:12:37 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Gencur 2011-08-08 12:24:06 UTC
project_key: EDG

Cache entries remain in the cache even after their lifespan expires (when setting the lifespan via replaceWithVersionAsync)

The test verifying this can be found at https://svn.devel.redhat.com/repos/jboss-qa/edg/edg-functional-tests/trunk/async-futures/src/test/java/org/jboss/test/datagrid/async/LocalModeTest.java - test method testReplaceWithVersionWithLifespanAsync()

The test is failing on line assertEquals(null, cache.getVersioned("aKey"));

The steps to run this test are similar to those described in JBPAPP-6928.

Btw, also a synchronous version of this method fails to set the lifespan for cache entries (test at https://svn.devel.redhat.com/repos/jboss-qa/edg/edg-functional-tests/trunk/migrated-tests/src/test/java/org/jboss/test/cluster/datagrid/hotrod - test method testReplaceWithVersionWithLifespan())

Comment 1 Martin Gencur 2011-08-08 12:29:57 UTC
Link: Added: This issue relates to ISPN-1318


Comment 2 Martin Gencur 2011-08-08 12:47:45 UTC
For the synchronous operation, the test is located in HotRodClientRemoteCacheTestCase.java under the specified directory.

Comment 3 Galder ZamarreƱo 2011-08-12 14:12:37 UTC
Fix will be available in next Infinispan release.

Comment 4 Anne-Louise Tangring 2011-09-26 19:41:22 UTC
Docs QE Status: Removed: NEW