Commit 9286b03
committed
Fix possible race condition in swift_migration check
When the replicator is still moving data off the standalone node, the
find command might fail with a race condition because empty directories
are removed while iterating over the same subdirectories.
This fix adds the "-ignore_readdir_race" option to find to ignore this
kind of errors. The test should simply succeed as long as there are no
.data or .db files left; empty directories will be cleaned up later and
are ok.
JIRA: OSPCIX-1318
Signed-off-by: Christian Schwede <cschwede@redhat.com>1 parent 624a414 commit 9286b03
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments