[
https://jira.jboss.org/jira/browse/ISPN-320?page=com.atlassian.jira.plugi...
]
Manik Surtani updated ISPN-320:
-------------------------------
Summary: When using a RspFilter, JGroups GroupRequest mode should always be
GET_FIRST (was: cache.get() takes some times 15 seconds to execute)
Description:
This was GET_ALL, which means we wait for all responses, regardless of what the RspFilter
flags! This was a huge bottleneck, resulting in the following:
cache.get() can get stuck for 15 seconds before returning. Trace level logging reveals:
org.jgroups.blocks.GroupRequest - call did not execute correctly.
was:
cache.get() can get stuck for 15 seconds before returning. Trace level logging reveals:
org.jgroups.blocks.GroupRequest - call did not execute correctly.
The fix was simple: if a filter is used, set the response mode to GET_FIRST (as per the
JGroups javadocs!) Fix is in trunk.
When using a RspFilter, JGroups GroupRequest mode should always be
GET_FIRST
----------------------------------------------------------------------------
Key: ISPN-320
URL:
https://jira.jboss.org/jira/browse/ISPN-320
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.0.0.CR3
Environment: jgroups.bind_addr = null
bind.address = 127.0.0.1
java.runtime.version = 1.6.0_0-b16
java.runtime.name =OpenJDK Runtime Environment
java.vm.version = 14.0-b16
java.vm.vendor = Sun Microsystems Inc.
os.name = Linux
os.version = 2.6.31.6-166.fc12.x86_64
sun.arch.data.model = 64
sun.cpu.endian = little
protocol.stack = tcp
java.net.preferIPv4Stack = true
java.net.preferIPv6Stack = null
MAVEN_OPTS = null
Reporter: Juha Heljoranta
Assignee: Manik Surtani
Fix For: 4.0.0.GA
Attachments: asymmetric-v4.patch.gz, infinispan.snip.log.gz
This was GET_ALL, which means we wait for all responses, regardless of what the RspFilter
flags! This was a huge bottleneck, resulting in the following:
cache.get() can get stuck for 15 seconds before returning. Trace level logging reveals:
org.jgroups.blocks.GroupRequest - call did not execute correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira