Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4745

Cluster Listener TX Batch incorrect when sending multiple events

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • 7.0.0.Beta2
    • 7.0.0.CR1
    • Listeners
    • None

    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.

      Attachments

        Activity

          People

            wburns@redhat.com wburns@redhat.com
            wburns@redhat.com wburns@redhat.com
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: