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

Slave replication filters do not work as excepted

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.21
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      OpenSuSE 13.2

      Description

      Have a replication slave setup with following configuration:

      [mysqld]
      replicate-rewrite-db = APPLICATION->APPLICATION_QA
      
      replicate-wild-do-table = APPLICATION.%
      replicate-wild-do-table = APPLICATION_QA.%
      
      replicate-wild-ignore-table=APPLICATION_QA.%_tmp
      replicate-wild-ignore-table=APPLICATION_QA.%_old
      replicate-wild-ignore-table=APPLICATION_QA.%upload
      
      replicate-wild-ignore-table=APPLICATION.%_tmp
      replicate-wild-ignore-table=APPLICATION.%_old
      replicate-wild-ignore-table=APPLICATION.%upload
      

      The intention is to replicate only one specific schema but renaming it (from APPLICATION to APPLICATION_QA). However need to filter some tables. In the example above its %_tmp, %_old, %upload.

      The problem: all tables from master's APPLICATION schema are being replicated.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                Vitaliy Vitaliy Margolen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: