[
https://issues.apache.org/jira/browse/HDDS-15828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated HDDS-15828:
-----------------------------------
Description:
TestDirectoryDeletingServiceWithFSO flakes in CI because
testDirDeletedTableCleanUpForSnapshot deletes a snapshot but does not wait for
SnapshotDeletingService to purge it from the global chain.
The following test chains new snapshots off that stale entry and SDS crashes
with NoSuchElementException. Fix: add waitForSnapshotsPurged() and call it from
both snapshot tests; remove OM restart workaround from HDDS-13865.
was:
TestDirectoryDeletingServiceWithFSO flakes in CI because
testDirDeletedTableCleanUpForSnapshot deletes a snapshot but does not wait for
SnapshotDeletingService to purge it from the global chain. The following test
chains new snapshots off that stale entry and SDS crashes with
NoSuchElementException. Fix: add waitForSnapshotsPurged() and call it from both
snapshot tests; remove OM restart workaround from HDDS-13865.
> Fix flaky TestDirectoryDeletingServiceWithFSO snapshot cleanup
> --------------------------------------------------------------
>
> Key: HDDS-15828
> URL: https://issues.apache.org/jira/browse/HDDS-15828
> Project: Apache Ozone
> Issue Type: Bug
> Components: Snapshot, test
> Reporter: Wei-Chiu Chuang
> Priority: Major
>
> TestDirectoryDeletingServiceWithFSO flakes in CI because
> testDirDeletedTableCleanUpForSnapshot deletes a snapshot but does not wait
> for SnapshotDeletingService to purge it from the global chain.
> The following test chains new snapshots off that stale entry and SDS crashes
> with NoSuchElementException. Fix: add waitForSnapshotsPurged() and call it
> from both snapshot tests; remove OM restart workaround from HDDS-13865.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]