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

TCP: handle full queue with use_send_queues=true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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)

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: