Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14912

FairCallQueue may defer servicing calls

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 3.0.0-alpha4, 2.8.2
    • Fix Version/s: 2.9.0, 2.8.3, 3.0.0
    • Component/s: ipc
    • Labels:
      None

      Description

      HADOOP-14033 switched a lock to a semaphore to allow concurrency for producers & consumers to the underlying queues. A race condition was created that may cause a consumer to acquire a permit but not extract an element, leaving the semaphore with fewer permits than queued elements. This causes a minimum number of calls to always be present in the call queue.

        Attachments

        1. HADOOP-14912.patch
          1 kB
          Daryn Sharp
        2. HADOOP-14912.1.patch
          1 kB
          Daryn Sharp

          Issue Links

            Activity

              People

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: