Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.3, 2.0.0
-
None
-
Reviewed
Description
This is the issue I was originally having here: http://mail-archives.apache.org/mod_mbox/hbase-dev/201802.mbox/%3CCAN+qs_Pav=md_Aoj4Xji+KCNETubg2XOu2nTxV1g6m8-5VN-GA@mail.gmail.com%3E
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.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-22433 Corrupt hfile data
- Open
-
HBASE-20789 TestBucketCache#testCacheBlockNextBlockMetadataMissing is flaky
- Resolved
- links to