Bug #36714 Maria: logs not rotated though maria_log_file_size exceeded
Submitted: 14 May 2008 14:01 Modified: 16 May 2008 7:47
Reporter: Guilhem Bichot Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Maria storage engine Severity:S3 (Non-critical)
Version:5.1-bk OS:Linux
Assigned to: Oleksandr Byelkin CPU Architecture:Any

[14 May 2008 14:01] Guilhem Bichot
Description:
With maria_log_file_size=8M, the first log reaches 15M and there is
still no second log - sounds strange.
I used the attached .test and .opt files (both put in mysql-test/t).
If I remove this line from the .test:
-- source include/maria_empty_logs.inc
then everything works (maria_log.00000002 is created when maria_log.00000001 is 8MB).

How to repeat:
Run the test; the output contains:
Type    Name    Status
maria Size     15253504 ; ../tmp/maria_log.00000001   in use
see: this log is more than 8MB: this is too big and there is no maria_log.00000002
[14 May 2008 14:02] Guilhem Bichot
option file for the test

Attachment: maria-recover-master.opt (application/octet-stream, text), 63 bytes.

[14 May 2008 14:02] Guilhem Bichot
test file

Attachment: maria-recover.test (application/octet-stream, text), 13.11 KiB.

[16 May 2008 7:47] Oleksandr Byelkin
It is because server restart and maria_log_file_size set back to default.