]
RH Bugzilla Integration commented on ISPN-4745:
-----------------------------------------------
Dave Stahl <dstahl(a)redhat.com> changed the Status of [bug
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.