[
https://issues.jboss.org/browse/ISPN-4745?page=com.atlassian.jira.plugin....
]
William Burns updated ISPN-4745:
--------------------------------
Description: While glancing through the code I noticed that the RemoteListener
incorrectly sends the events after each event while looping on them this causes (n * (n +
1)) / 2 as many events in the batch, which is incorrect when n > 1. We just need to
move the submit outside of the for loop. (was: While glancing through the code I noticed
that the RemoteListener incorrectly sends the events after each event while looping on
them this causes (n) * (n - 1) as many events when you have more than 1 event in the
batch. We just need to move the submit outside of the for loop.)
Cluster Listener TX Batch incorrect when sending multiple events
----------------------------------------------------------------
Key: ISPN-4745
URL:
https://issues.jboss.org/browse/ISPN-4745
Project: Infinispan
Issue Type: Bug
Components: Listeners
Affects Versions: 7.0.0.Beta2
Reporter: William Burns
Assignee: William Burns
Priority: Critical
Fix For: 7.0.0.CR1
While glancing through the code I noticed that the RemoteListener incorrectly sends the
events after each event while looping on them this causes (n * (n + 1)) / 2 as many events
in the batch, which is incorrect when n > 1. We just need to move the submit outside
of the for loop.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)