maria_read_log fails to create MAI files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Won't Fix
|
Undecided
|
Michael Widenius |
Bug Description
In certain instances maria_read_log -a fails to create any MAI files but still reports success.
Examination with strace reveals the following calls:
open("/
open("/
open("/
It seems that this happens when the first part of the log is not available to maria_read_log because it was rotated out. In this case, -a should fail with a suitable error message rather than just do nothing. Errors from open() should be handled and reported.
Changed in maria: | |
milestone: | none → 5.1 |
Changed in maria: | |
assignee: | nobody → Michael Widenius (monty) |
The above is ok as the files are assumed to be deleted after the log entry was done.