petersomogyi commented on PR #8939: URL: https://github.com/apache/hbase/pull/8939#issuecomment-7237302189
Thanks for the review and the reproduction @shihchengwei-lab, you're right. This predates the PR, but it's the same class of bug, so I'm fixing it here. Both `evictBlock` implementations now do their accounting with the block actually removed from the map. I also added `testEvictingStaleEntryUsesRemovedBlockSize` to both test classes, based on your reproduction. I'll push the change shortly. -- 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]
