Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-7617

Kafkacdc 'ALTER TABLE ... RENAME TO ...' processing uses old database name

    XMLWordPrintable

Details

    • MXS-SPRINT-280
    • Can result in data loss
    • The ALTER TABLE RENAME TO processing in kafkacdc now correctly uses the correct database name for the new version of the table.

    Description

      Renaming the table from one database into the other one used the old database's name. This resulted in queries like the following producing unexpected schema change events:

      CREATE DATABASE db1;
      CREATE TABLE db1.t1(id INT);
      CREATE DATABASE db2;
      ALTER TABLE db1.t1 RENAME TO db2.t2
      

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                0d
                Logged:
                Time Not Required
                Not Specified

                Git Integration

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