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

FairCallQueue may defer servicing calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0, 3.0.0-alpha4, 2.8.2
    • 2.9.0, 2.8.3, 3.0.0
    • ipc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: