Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2773

NAKACK2/UNICAST3: max_batch_size > 0 does not remove all messages from buffer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.5
    • None
    • None
    • False
    • None
    • False

      When max_batch_size is N (N > 0), and a received batch is > N, then we only read N messages from the table to which the batch was added. If there's no other incoming thread, it may take a few ms until the remaining messages are removed and delivered.
      This is not usually an issue because the 'last seqno resender' should reduce the risk of this happening.

      Solution: in NAKACK2/UNICAST3.removeAndDeliver(), do this in a loop until no messages have been read into the batch.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: