wenbingshen opened a new pull request #2836:
URL: https://github.com/apache/bookkeeper/pull/2836


   ### Motivation
   
   Original PR: https://github.com/apache/bookkeeper/pull/1755,
   It should be that this PR forgot to modify the memory application method.
   
   When the direct memory is insufficient, it does not fall back to the jvm 
memory, and the bookie hangs directly.
   
   
![image](https://user-images.githubusercontent.com/35599757/137859349-f145bb88-7d1c-4739-b6d1-6f8987831cc0.png)
   
   
![image](https://user-images.githubusercontent.com/35599757/137859462-4e2b3dc5-3287-4bf7-8dad-048ad8a7723f.png)
   
   
   
   ### Changes
   
   Use `OutOfMemoryPolicy` when the direct memory is insufficient when reading 
the entry in `ReadCache`.
   
   
   


-- 
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