Bug 987520

Summary: Putting entries with memcached is ignoring the queue-flush-interval parameter
Product: [JBoss] JBoss Data Grid 6 Reporter: Jakub Markos <jmarkos>
Component: ServerAssignee: Tristan Tarrant <ttarrant>
Status: ASSIGNED --- QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jdg-bugs
Target Milestone: CR1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
The queue-flush-interval and queue-size attributes of a replicated cache are ignored when data is stored remotely from Memcached client. This is caused by the "distribution-based replication" algorithm in JBoss Data Grid: a key's primary owner might not be the local node, so a synchronous put operation is sent to the key owner, thus overriding the async queue. </para> <para> Consequently, data is replicated immediately and the queue-flush-interval and queue-size attributes are not respected.
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:

Description Jakub Markos 2013-07-23 14:49:36 UTC
Please see the linked JIRA for more information.

Comment 2 JBoss JIRA Server 2013-07-26 11:42:54 UTC
Tristan Tarrant <ttarrant> made a comment on jira ISPN-3293

Nothing do to with the issue itself, but

assertTrue(null == mc2.get("key1"));

should be

assertNull(mc2.get("key1"));

Comment 3 JBoss JIRA Server 2013-07-26 11:47:09 UTC
Tristan Tarrant <ttarrant> made a comment on jira ISPN-3293

Which version did this happen on ?

Comment 4 JBoss JIRA Server 2013-07-26 12:42:38 UTC
Tristan Tarrant <ttarrant> made a comment on jira ISPN-3293

This issue is caused by the new "distribution-based replication" algorithm in Infinispan: a key's primary owner might not be the local node, so a synchronous put operation is sent to the key owner, thus overriding the async queue. The fact that the test works for HotRod is probably because the encoding of the key differs. The actual solution to this problem will be solved by ISPN-3371

Comment 5 JBoss JIRA Server 2016-03-23 14:17:04 UTC
Dan Berindei <dberinde> updated the status of jira ISPN-3293 to Resolved