mariadb/mysql-test/suite
Brandon Nesterenko c132bce1a1 MDEV-20119: Implement the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options for mysqlbinlog
New Feature:
============
Extend mariadb-binlog command-line tool to allow for filtering
events using GTID domain and server ids. The functionality mimics
that of a replica server’s DO_DOMAIN_IDS, IGNORE_DOMAIN_IDS, and
IGNORE_SERVER_IDS from CHANGE MASTER TO. For completeness, this
patch additionally adds the option --do-server-ids as an alias for
--server-id, which now accepts a list of server ids instead of a
single one.

Example usage:
  mariadb-binlog --do-domain-ids=2,3,4 --do-server-ids=1,3
  master-bin.000001

Functional Notes:
 1. --do-domain-ids cannot be combined with --ignore-domain-ids
 2. --do-server-ids cannot be combined with --ignore-server-ids
 3. A domain id filter can be combined with a server id filter
 4. When any new filter options are combined with the
--gtid-strict-mode option, events from excluded domains/servers are
not validated.
 5. Domain/server id filters can be combined with GTID ranges (i.e.
specifications of --start-position and --stop-position). However,
because the --stop-position option implicitly undertakes filtering
to only output events within its range of domains, when combined
with --do-domain-ids or --ignore-domain-ids, output will consist of
the intersection between the filters. Specifically, with
--do-domain-ids and --stop-position, only events with domain ids
present in both argument lists will be output. Conversely, with
--ignore-domain-ids and --stop-position, only events with domain ids
present in the --stop-position and absent from the
--ignore-domain-ids options will be output.

Reviewed By
============
Andrei Elkin <andrei.elkin@mariadb.com>
2022-04-19 11:09:24 -06:00
..
archive Merge 10.7 into 10.8 2022-03-03 11:34:58 +02:00
atomic
binlog MDEV-20119: Implement the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options for mysqlbinlog 2022-04-19 11:09:24 -06:00
binlog_encryption
client
compat Merge 10.7 into 10.8 2022-03-30 09:34:07 +03:00
csv
encryption Merge 10.8 into 10.9 2022-04-06 13:33:33 +03:00
engines MDEV-27712 Reduce the size of Lex_length_and_dec_st from 16 to 8 2022-03-22 14:42:54 +04:00
federated Merge 10.7 into 10.8 2022-03-08 10:03:45 +02:00
funcs_1 Merge 10.8 into 10.9 2022-04-06 13:33:33 +03:00
funcs_2 MDEV-27819: func_2.xxx_charset skipped after renaming utf8 to utf8mb3 2022-03-24 20:30:04 +05:30
galera Merge 10.8 into 10.9 2022-04-06 13:33:33 +03:00
galera_3nodes Merge 10.7 into 10.8 2022-03-30 09:34:07 +03:00
galera_3nodes_sr
galera_sr Merge 10.5 into 10.6 2022-03-29 16:16:21 +03:00
gcol Merge 10.7 into 10.8 2022-03-25 15:06:56 +11:00
handler
heap MDEV-27406 Index on a HEAP table retains DESC attribute despite being hash 2022-01-26 18:43:06 +01:00
innodb Merge 10.8 into 10.9 2022-04-13 13:39:00 +03:00
innodb_fts Merge 10.7 into 10.8 2022-03-08 10:03:45 +02:00
innodb_gis Merge 10.7 into 10.8 2022-02-14 09:43:29 +02:00
innodb_i_s Merge 10.5 into 10.6 2022-04-12 09:26:02 +03:00
innodb_zip Merge 10.7 into 10.8 2022-03-30 09:34:07 +03:00
jp
json MDEV-27911: Implement range notation for json path 2022-04-15 01:02:44 +05:30
large_tests
maria Merge 10.7 into 10.8 2022-02-23 16:42:59 +02:00
mariabackup Merge 10.7 into 10.8 2022-04-06 13:28:25 +03:00
mtr/t
mtr2
multi_source
optimizer_unfixed_bugs
parts Merge 10.7 into 10.8 2022-03-25 15:06:56 +11:00
perfschema Merge 10.7 into 10.8 2022-04-13 17:52:27 +09:00
perfschema_stress
period
plugins Merge branch '10.6' into 10.7 2022-02-04 14:11:46 +01:00
roles MDEV-27743 Remove Lex::charset 2022-03-22 17:12:15 +04:00
rpl MDEV-20119: Implement the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options for mysqlbinlog 2022-04-19 11:09:24 -06:00
s3
sql_sequence Merge 10.6 into 10.7 2022-04-06 13:00:09 +03:00
storage_engine
stress
sys_vars Merge 10.8 into 10.9 2022-04-06 13:33:33 +03:00
sysschema Merge 10.6 into 10.7 2022-04-12 16:11:29 +03:00
unit
vcol Merge branch '10.6' into 10.7 2022-02-04 14:11:46 +01:00
versioning Merge 10.6 into 10.7 2022-04-06 13:00:09 +03:00
wsrep MDEV-26971: JSON file interface to wsrep node state. 2022-03-18 16:38:41 +01:00