hbase/hbase-external-blockcache
Zach York d2daada970 HBASE-20447 Only fail cacheBlock if block collisions aren't related to next block metadata
When we pread, we don't force the read to read all of the next block header.
However, when we get into a race condition where two opener threads try to
cache the same block and one thread read all of the next block header and
the other one didn't, it will fail the open process. This is especially important
in a splitting case where it will potentially fail the split process.
Instead, in the caches, we should only fail if the required blocks are different.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-05-14 17:16:54 -07:00
..
src/main/java/org/apache/hadoop/hbase/io/hfile HBASE-20447 Only fail cacheBlock if block collisions aren't related to next block metadata 2018-05-14 17:16:54 -07:00
pom.xml HBASE-20212 Make all Public classes have InterfaceAudience category 2018-03-22 18:10:23 +08:00