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

TCP: handle full queue with use_send_queues=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.12.2, 3.0
    • None
    • None
    • Hide

      Set use_send_queues=false (fixes the problem) or set send_queue_size to a higher value (delays the problem)

      Show
      Set use_send_queues=false (fixes the problem) or set send_queue_size to a higher value (delays the problem)

      When use_send_queues=true, and we try to add a message to a full queue, we get an exception because BlockingQueue.add() is used. Instead, the sender should block, we should use BlockingQueue.put() and handle the InterruptedException when the sender is stopped.

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

                Created:
                Updated:
                Resolved: