[Pkg-mysql-commits] r905 - in branches/sid-5.0/debian: . additions
Sean Finney
seanius at alioth.debian.org
Tue Jul 17 20:32:00 UTC 2007
tags 431825 pending
thanks
Author: seanius
Date: 2007-07-17 20:32:00 +0000 (Tue, 17 Jul 2007)
New Revision: 905
Modified:
branches/sid-5.0/debian/additions/my.cnf
branches/sid-5.0/debian/changelog
branches/sid-5.0/debian/mysql-server-5.0.README.Debian
Log:
notes on replication
Modified: branches/sid-5.0/debian/additions/my.cnf
===================================================================
--- branches/sid-5.0/debian/additions/my.cnf 2007-07-17 20:24:15 UTC (rev 904)
+++ branches/sid-5.0/debian/additions/my.cnf 2007-07-17 20:32:00 UTC (rev 905)
@@ -75,6 +75,8 @@
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
+# note: if you are setting up a replication slave, see README.Debian about
+# other settings you may need to change.
#server-id = 1
log_bin = /var/log/mysql/mysql-bin.log
# WARNING: Using expire_logs_days without bin_log crashes the server! See README.Debian!
Modified: branches/sid-5.0/debian/changelog
===================================================================
--- branches/sid-5.0/debian/changelog 2007-07-17 20:24:15 UTC (rev 904)
+++ branches/sid-5.0/debian/changelog 2007-07-17 20:32:00 UTC (rev 905)
@@ -11,8 +11,11 @@
* updated CRUFT list to fix double-build breakage (closes: #424590).
* add conditional build-deps for linux-libc-dev to fix FTBFS for
non-linux arch's (closes: #431018).
+ * added notes to my.cnf and README.Debian about setting tmpdir when
+ configuring a replication slave. thanks to Rudy Gevaert for pointing
+ this out (closes: #431825).
- -- sean finney <seanius at debian.org> Tue, 17 Jul 2007 22:26:50 +0200
+ -- sean finney <seanius at debian.org> Tue, 17 Jul 2007 22:34:41 +0200
mysql-dfsg-5.0 (5.0.41a-1) unstable; urgency=high
Modified: branches/sid-5.0/debian/mysql-server-5.0.README.Debian
===================================================================
--- branches/sid-5.0/debian/mysql-server-5.0.README.Debian 2007-07-17 20:24:15 UTC (rev 904)
+++ branches/sid-5.0/debian/mysql-server-5.0.README.Debian 2007-07-17 20:32:00 UTC (rev 905)
@@ -125,3 +125,13 @@
or none of those options is safe. To prevent this happening during the nightly
log rotation via /etc/logrotate.d/mysql the initscript checks for malicious
combination of options. This is Debian bug #368547 and MySQL bug #17733.
+
+* FURTHER NOTES ON REPLICATION
+===============================
+Іf the MySQL server is acting as a replication slave, you should not
+set --tmpdir to point to a directory on a memory-based filesystem or to
+a directory that is cleared when the server host restarts. A replication
+slave needs some of its temporary files to survive a machine restart so
+that it can replicate temporary tables or LOAD DATA INFILE operations. If
+files in the temporary file directory are lost when the server restarts,
+replication fails.
More information about the Pkg-mysql-commits
mailing list