Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.1.20, 10.1.21
-
The problem is discovered on Debian jessie and Ubuntu trusty with version 10.1.20. However I presume it is valid for the other major version as well.
Description
As part of the upgrade the postinst script of deb package is starting mysqld instance as followes:
MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --disable-log-bin --skip-grant-tables --default-storage-engine=myisam"
You would see that binary logging is disabled, but there is no option: --skip-slave-start
If you have a slave chains setup with the option --log-slave-updates this brief startup during the upgrade process will start the slaves and starts to download and execute binary logs, however because binary-logging is disabled those logs won't be written to disk and thus will not be picked up by other slaves in the chain.