[infinispan-issues] [JBoss JIRA] (ISPN-4745) Cluster Listener TX Batch incorrect when sending multiple events

William Burns (JIRA) issues at jboss.org
Fri Sep 19 15:08:02 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-4745:
--------------------------------
    Status: Open  (was: New)


> 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)


More information about the infinispan-issues mailing list