You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "guluo (Jira)" <ji...@apache.org> on 2026/06/25 16:45:00 UTC

[jira] [Created] (HBASE-30259) Async WAL archiving causes TestMasterRegionWALCleaner flaky

guluo created HBASE-30259:
-----------------------------

             Summary: 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


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)