kezhuw opened a new pull request #2962:
URL: https://github.com/apache/bookkeeper/pull/2962


   Descriptions of the changes in this PR:
   
   
   
   ### Motivation
   `Journal.ForceWriteThread` could deadlock as it is the sole consumer of 
`Journal.forceWriteRequests` while it send group marker blocking using 
`BlockingQueue.put`.
   
   This PR try to fix this.
   
   ### Changes
   * Add testing code to deadlock `Journal.ForceWriteThread` on 
`forceWriteRequests.put`.
   * Send force write group marker non-blocking to avoid deadlock 
`ForceWriteThread`.
   
   Master Issue: #2948


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to