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

Do not send empty batches with IRAC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 14.0.1.Final
    • None
    • None
    • None

    Description

      It is possible for a site to send an empty batch to the remote site. Although it is harmless, the remote site creates an IntSet with zero capacity which is invalid.

      The empty batch request generates an invalid reply which is not handled and the IracManager is not able to proceed sending new updates until the request timeout.

      The following improvements can be made

      • Avoid sending empty batches (waste of resources)
      • Change IntSet to throw an exception with a zero capacity

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: