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)

Reply via email to