Daryn Sharp created HADOOP-14912:
------------------------------------

             Summary: FairCallQueue may defer servicing calls
                 Key: HADOOP-14912
                 URL: https://issues.apache.org/jira/browse/HADOOP-14912
             Project: Hadoop Common
          Issue Type: Bug
          Components: ipc
    Affects Versions: 2.8.2
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to