Bug 745915 (EDG-11) - replaceWithVersionAsync on RemoteCache (HotRod) fails to set lifespan of cache entries
Summary: replaceWithVersionAsync on RemoteCache (HotRod) fails to set lifespan of cach...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EDG-11
Product: JBoss Data Grid 6
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 6.0.0
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-11
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-08 12:24 UTC by Martin Gencur
Modified: 2012-08-15 16:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Infinispan 5.0.0.FINAL, JBossAS 7.1-SNAPSHOT
Last Closed: 2011-08-12 14:12:37 UTC
Type: Feature Request


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EDG-11 0 Major Closed replaceWithVersionAsync on RemoteCache (HotRod) fails to set lifespan of cache entries 2013-04-16 06:30:54 UTC
Red Hat Issue Tracker ISPN-1318 0 Major Resolved replaceWithVersionAsync on RemoteCache (HotRod) fails to set lifespan of cache entries 2013-04-16 06:30:54 UTC

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 



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