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

Change default thread pool rejection policy to "abort"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.6.7
    • 3.6.6
    • None

    Description

      Currently, JGroups transport thread pools use discard as a rejection policy. Thus if there are no available threads, and the queue is full, the executor will silently drop the task.
      Abort will throw a RejectedExecutionException, in which case, which JGroups catches to populate the num_rejected_msgs statistic. This is a better default, so that users can monitor this value to determine whether or not to modify their thread pool configuration. Otherwise, num_rejected_msgs is 0, which might be a source of confusion.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: