-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Replication 2021-11-29
WiredTiger owns the file space of any file with the WiredTiger prefix and often only look for prefixes rather than entire filenames when manipulating files. Our current implementation of renaming files that already exist in the dbpath and then moving them causes issues for WiredTigerPrepLog and WiredTigerTmpLog files as a result.
One such issue happens when a PrepLog file was renamed before initial sync files were moved, but WT tries to delete the PrepLog file twice (because of its use of prefixes and extracting the log number from the file).
- is duplicated by
-
SERVER-61536 Treat WiredTiger journal directory specially in File Copy Based Initial Sync
- Closed