[
https://issues.apache.org/jira/browse/HBASE-30259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-30259.
-------------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.5.16
2.6.7
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to all active branches.
Thanks [~guluo]!
> Async WAL archiving causes TestMasterRegionWALCleaner flaky
> -----------------------------------------------------------
>
> Key: HBASE-30259
> URL: https://issues.apache.org/jira/browse/HBASE-30259
> Project: HBase
> Issue Type: Improvement
> Reporter: guluo
> Assignee: guluo
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.5.16, 2.6.7
>
>
> waitUntilWalRollFinished() returns when the WAL roll request is cleared, but
> the actual archiving (moving files to the global archive directory) happens
> asynchronously via afterWALArchive() in a background thread.
> When the test immediately calls fs.listStatus(globalWALArchiveDir) after
> waitUntilWalRollFinished(), the directory may not exist yet, causing a
> FileNotFoundException.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)