You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2026/01/20 16:20:00 UTC
[jira] [Resolved] (HBASE-29783) Fix flaky TestVerifyBucketCacheFile.testRetrieveFromFile test
[ https://issues.apache.org/jira/browse/HBASE-29783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-29783.
-------------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.6.5
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.6+.
Thanks [~wchevreuil] and [~umesh9414] for reviewing!
> Fix flaky TestVerifyBucketCacheFile.testRetrieveFromFile test
> -------------------------------------------------------------
>
> Key: HBASE-29783
> URL: https://issues.apache.org/jira/browse/HBASE-29783
> Project: HBase
> Issue Type: Bug
> Affects Versions: 3.0.0-beta-1, 2.7.0, 2.6.4
> Reporter: Wellington Chevreuil
> Assignee: Duo Zhang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.5
>
>
> TestVerifyBucketCacheFile is on the flaky list for master branch, with testRetrieveFromFile failing the check scenario where the index (backingMap) is recoverable, but not the cache file itself. I believe this is because on line #141 we are waiting until bucket cache is initialised (cacheState == ENABLED), however, in cases where the backingMap and the cache file are inconsistent, we perform a background validation of the backingMap, even after the cache is in ENABLED state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)