>Description:
Writing to the binlog doesn't stall the update process when
the disk is full.
>How-To-Repeat:
Turn on binlogging.
Fill the disk.
Do a few updates.
Flush logs.
Observe binlogs looking like this:
-rw-rw---- 1 mysql mysql 360448 Nov 13 16:10 mysql.20766
-rw-rw---- 1 mysql mysql 0 Nov 13 16:20 mysql.20767
-rw-rw---- 1 mysql mysql 0 Nov 13 16:30 mysql.20768
-rw-rw---- 1 mysql mysql 0 Nov 13 16:40 mysql.20769
Note that the last record in mysql.20766 is NOT the one which
forwards the slave's read pointer.
>Fix:
Updating the standard log already blocks the database.
Do the same for the binlog.
>Submitter-Id: <submitter ID>
>Originator: root
>Organization:
noris network AG, Nuernberg, Germany
>MySQL support: licence
>Synopsis: Stall when the binlog can't be written due to disk full.
>Severity: serious
>Priority: high
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.34 and later
>Environment:
System: Linux data3 2.4.2-noris-5r #3 SMP Fri Oct 5 14:22:25 CEST 2001 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='-DTHREAD_SAFE_CLIENT
-felide-constructors -fno-exceptions -fno-rtti' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Oct 7 17:10 /lib/libc.so.6 -> libc-2.2.2.so
-rwxr-xr-x 1 root root 1236396 Apr 6 2001 /lib/libc-2.2.2.so
-rw-r--r-- 1 root root 26350254 Apr 6 2001 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Apr 6 2001 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr --with-debug --enable-shared
--without-mit-threads --libexecdir=/usr/sbin --localstatedir=/var/mysql
--enable-thread-safe-client --sysconfdir=/etc --datadir=/usr/share
--enable-large-files --without-readline --with-mysqld-user=mysql
--with-unix-socket-path=/var/run/mysql.socket --enable-strcoll '--with-comment=noris
network MySQL' --with-docs --with-bench --without-berkeley-db --without-bench
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php