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

UNICAST/NAKACK: threads from the internal thread pool should not do work stealing

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.5
    • None
    • None

    Description

      In NAKACK{2} and UNICAST{2,3}, threads from all thread pools (regular, OOB and internal) add messages to the table, then grab as many (ordered) messages as possible from the table and pass them up.
      This could lead to the case where an internal thread passes up regular or OOB messages, which might block. There's a (small) chance that this exhausts the internal thread pool.
      Internal threads should therefore never block, and never steal work from other thread pools.
      SOLUTION:

      • An internal thread only adds the message to the table and passes it up if in order
      • If the internal message is OOB, it is passed up and then the thread returns

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: