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

LP:657294 - Replication breaks when upgrading to MariaDB

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 10.0.0, 5.5.28, 5.3.9
    • Fix Version/s: 5.3.13, 5.2.15, 5.1.73, 5.5
    • Component/s: None
    • Labels:

      Description

      When upgrading a MySQL 5.0 master to MariaDB 5.1, replication breaks on the
      slave(s):

      Last_Error: Error 'Table 'tablename' already exists' on query. Default database:
      'greylist'. Query: 'RENAME TABLE `#mysql50#tablename` TO `tablename`'

      The RENAME TABLE shouldn't be replicated.

      To reproduce,

      • start MySQL 5.0 server with binary log enabled;
      • create table `t-t` (i int)
      • stop server;
      • start MariaDB server on the same datadir;
      • run mysql_upgrade;
      • grep binary log for 'rename'

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 657294

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 657294
            Hide
            elenst Elena Stepanova added a comment -

            It's still reproducible on current 5.3, 5.5, 10.0 (I didn't check 5.1 and 5.2, but don't see why they would be any different). However, I hope there are not so many people left to upgrade from 5.0, so I'm setting it to Minor.

            Show
            elenst Elena Stepanova added a comment - It's still reproducible on current 5.3, 5.5, 10.0 (I didn't check 5.1 and 5.2, but don't see why they would be any different). However, I hope there are not so many people left to upgrade from 5.0, so I'm setting it to Minor.

              People

              • Assignee:
                Unassigned
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: