Thanks Monty
Unfortunately I don't think we had a copy of the log available from the last occurrence.
We haven't spotted this in recent times, obviously we try to avoid disk full situations for clients.
We'll endeavour to provide a log should we spot it again. Or perhaps another user will encounter the issue...
Regards
Arjen.
-------- Original message --------
From: "Michael Widenius (JIRA)" <jira@mariadb.atlassian.net>
Date:24/03/2014 04:13 (GMT+10:00)
To: arjen@openquery.com
Subject: [JIRA] (MDEV-4867) Incomplete Binlog writes on disk-full error,
also breaking slave replication
[ https://mariadb.atlassian.net/browse/MDEV-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44497#comment-44497 ]
Michael Widenius commented on MDEV-4867:
----------------------------------------
Elena did all the rights steps to try to reproduce this, so there is not much more I can do regarding testing.
I took a look at all code in log.cc and related code but could not find anything wrong.
The logic for file full is quite simply and is the same for any event:
In the lowest file write call, mysys/my_write.c:my_write() we detect if we on write() get
an ENOSPC or EDQUOT error. If yes, we give a warning and wait 60 seconds and try again by writing the data we did not manage to write before.
I am reasonable confident in the my_write() code, so the error is very likely somewhere else. I would however need more data to be able to find out where.
If you could upload the last 100K of the binary log where things went wrong to the private folder at ftp://ftp.askmonty.org, then we would have more to go on to find and fix this.
–
This message was sent by Atlassian JIRA
(v6.2-OD-10-004-WN#6253)
Hi,
I'm getting "wait until" when the binary log cannot be written (on 5.5 and on 10.0, didn't check 5.3):
130902 0:25:22 [Warning] mysqld: Disk is full writing '/data/smalldisk/master-bin.000001' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
130902 0:25:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
I do the following:
Is there anything special in the use case you described that I've missed?