Throttling in NIOServerFactory is broken and potentially dangerous
------------------------------------------------------------------

                 Key: BOOKKEEPER-214
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-214
             Project: Bookkeeper
          Issue Type: Bug
            Reporter: Ivan Kelly
            Priority: Blocker


Throttling on the NIOServerFactory is broken. There is a variable 
outstandingRequests which is decremented when a request is completed, but is 
never incremented. If this value is greater than 2000, then no more requests 
are accepted. Once a bookie has received 2^31+2000 requests, the bookie will 
hang forever. This needs to be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to