-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADDENDUM] HBASE-28458 BucketCache.notifyFileCachingCompleted may incorrectly consider a file fully cached (#5777) #5791
Conversation
…orrectly consider a file fully cached (apache#5777) Change-Id: I681581b91000cf1f84253ad66f7195776793b364
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
Change-Id: Ifcd7fe5595cbf0d54c597c5ec72b504cc9ebbfae
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…orrectly consider a file fully cached (#5777) (#5791) Signed-off-by: Peter Somogyi <[email protected]>
…orrectly consider a file fully cached (#5777) (#5791) Signed-off-by: Peter Somogyi <[email protected]> (cherry picked from commit d7566ab)
…orrectly consider a file fully cached (#5777) (#5791) Signed-off-by: Peter Somogyi <[email protected]> (cherry picked from commit d7566ab)
…hingCompleted may incorrectly consider a file fully cached (apache#5777) (apache#5791) Signed-off-by: Peter Somogyi <[email protected]> (cherry picked from commit d7566ab) Change-Id: I27599d2c82cf2dea074bba8caa1e6ba5b14b764a
While backporting original PR to branch-2, I still got some failures for TestBucketCachePersister.testPrefetchBlockEvictionWhilePrefetchRunning. I believe I was using the wrong offset in BucketCache.notifyFileCachingCompleted, so if the eviction happens while in the loop of notifyFileCachingCompleted, we fail to acknowledge the eviction and still consider the file fully cached.