[MDEV-12648] Galera: replicate-do-db and replicate-ignore-db filters not honored at all Created: 2017-04-30 Updated: 2020-11-19 Resolved: 2020-11-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Replication |
| Affects Version/s: | 10.1.22, 10.0.30-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Richard Cox | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Not a Bug | Votes: | 1 |
| Labels: | None | ||
| Environment: |
OS: Linux (Debian Jessie) |
||
| Description |
|
I have a Galera cluster with 3 nodes, all configured like so (only differing in wsrep_node_address and wsrep_node_name):
While replication appears to work fine, the replicate-do-db and replicate-ignore-db filters are not honored at all. According to https://mariadb.com/kb/en/mariadb/mariadb-galera-cluster-known-limitations/, they should. |
| Comments |
| Comment by Daniel Black [ 2017-05-05 ] | |||||
|
Keep in mind replication filters affect the default database. DML that are explicitly change a non-default database aren't affected by replication filters. It would help to show what operations/results you expecting and what engine type. | |||||
| Comment by Richard Cox [ 2017-05-06 ] | |||||
|
@Daniel Black: On one of the nodes, I call:
| |||||
| Comment by Nischith Shetty [ 2018-07-23 ] | |||||
|
Came across this problem.This should be listed in the mariadb galera limitations page as it says otherwise. | |||||
| Comment by Jan Lindström (Inactive) [ 2020-11-19 ] | |||||
|
This parameter does work only for asynchronous replication e.g. when Galera cluster is master or slave of asynchronous replication. |