Bug 1060311

Summary: CACHE_MODE_LOCAL flag only works in primary owner for non-tx caches
Product: [JBoss] JBoss Data Grid 6 Reporter: Pedro Ruivo <pruivo>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: VERIFIED --- QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jdg-bugs, vjuranek
Target Milestone: CR1   
Target Release: 6.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The CACHE_MODE_LOCAL flag does not force the EntryWrappingInterceptor to wrap the entry. As a result, the entry will not be stored in the non-transactional cache if the current node is not the primary owner of the entry. This has been fixed for replicated mode. In distributed mode, such an operation stores the entry in L1 cache if it is enabled. If L1 cache is disabled and current node is not the primary owner of the entry, then this is a no-operation.
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:

Description Pedro Ruivo 2014-01-31 18:40:19 UTC
the CACHE_MODE_LOCAL flag is not forcing the EntryWrappingInterceptor to wrap the entry. the result is the entry will not be stored in the cache.

It's causing the random failures in:
* HotRodReplicationTest.testReplicatedPutWithTopologyChanges	
* HotRod11ReplicationTest.testReplicatedPutWithTopologyChanges	
* HotRod12ReplicationTest.testReplicatedPutWithTopologyChanges