pradeepbn opened a new pull request #2868:
URL: https://github.com/apache/bookkeeper/pull/2868


   Descriptions of the changes in this PR:
   
   ### Motivation
   
   After the readcache has been shutdown, all the buffers will be released in 
memory. In the meantime, if read and write ops are performed on the read cache, 
then it results in the segmentation fault on invalid memory. So, this PR will 
disable the readops and writeops on the readcache.
   
   ### Changes
   - Added a shutdown flag in ReadCache. This flag is set when close() is 
called.
   - If the shutdown flag is set in the put or get of ReadCache, throw 
IOException
   - Unit tests to check this
   
   
   
   


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