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

Do not send empty batches with IRAC

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: