Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11912

Debian package postinst scripts breaks chained replications

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.1.20, 10.1.21
    • N/A
    • 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.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            lukav Anton Avramov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.