-
Bug
-
Resolution: Fixed
-
Minor
-
3.10.4, 3.11
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
This might help find possible causes of MDL-71990.
The file API writes files to disc by first writing them with .tmp added to then name, and then doing a rename, which is more likely to be atomic. However, it does not check the return value of that rename call, which might be letter errors go unreported.
So, adding in that error handling.
- Testing discovered
-
MDL-72026 Race conditions writing tmp files in file system filedir
-
- Reopened
-
- will be (partly) resolved by
-
MDL-70243 Add a file system performance summary into the footer and file IO debug mode
-
- Development in progress
-
- will help resolve
-
MDL-71990 File API seems to be capable of silently losing files (very rarely)
-
- Open
-