-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
ALL
-
Storage NYC 2018-07-16
-
15
There are two problems with this test on Windows, both of which result in an error message: "The process cannot access the file because it is being used by another process"
1. The data file is renamed while the storage engine has an open handle on it. In this case, I think the file can be copied instead.
2. On line 220, for reasons unknown, the data file is still busy even after the ident is dropped. https://github.com/mongodb/mongo/blob/bccb252836954ac1963f8daf0d7bbdcf7af1d01c/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine_test.cpp#L220 this fix should also attempt to ensure the file has been delete, possibly by force deleting it.