mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
c132bce1a1
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> |
||
---|---|---|
.. | ||
aria_chk.1 | ||
aria_dump_log.1 | ||
aria_ftdump.1 | ||
aria_pack.1 | ||
aria_read_log.1 | ||
aria_s3_copy.1 | ||
CMakeLists.txt | ||
comp_err.1 | ||
galera_new_cluster.1 | ||
galera_recovery.1 | ||
innochecksum.1 | ||
mariabackup.1 | ||
mariadb-conv.1 | ||
mariadb-service-convert.1 | ||
mbstream.1 | ||
msql2mysql.1 | ||
my_print_defaults.1 | ||
my_safe_process.1 | ||
myisam_ftdump.1 | ||
myisamchk.1 | ||
myisamlog.1 | ||
myisampack.1 | ||
myrocks_hotbackup.1 | ||
mysql-stress-test.pl.1 | ||
mysql-test-run.pl.1 | ||
mysql.1 | ||
mysql.server.1 | ||
mysql_client_test.1 | ||
mysql_client_test_embedded.1 | ||
mysql_config.1 | ||
mysql_convert_table_format.1 | ||
mysql_embedded.1 | ||
mysql_find_rows.1 | ||
mysql_fix_extensions.1 | ||
mysql_install_db.1 | ||
mysql_ldb.1 | ||
mysql_plugin.1 | ||
mysql_secure_installation.1 | ||
mysql_setpermission.1 | ||
mysql_tzinfo_to_sql.1 | ||
mysql_upgrade.1 | ||
mysql_waitpid.1 | ||
mysqlaccess.1 | ||
mysqladmin.1 | ||
mysqlbinlog.1 | ||
mysqlcheck.1 | ||
mysqld.8 | ||
mysqld_multi.1 | ||
mysqld_safe.1 | ||
mysqld_safe_helper.1 | ||
mysqldump.1 | ||
mysqldumpslow.1 | ||
mysqlhotcopy.1 | ||
mysqlimport.1 | ||
mysqlshow.1 | ||
mysqlslap.1 | ||
mysqltest.1 | ||
mysqltest_embedded.1 | ||
mytop.1 | ||
perror.1 | ||
replace.1 | ||
resolve_stack_dump.1 | ||
resolveip.1 | ||
wsrep_sst_common.1 | ||
wsrep_sst_mariabackup.1 | ||
wsrep_sst_mysqldump.1 | ||
wsrep_sst_rsync.1 | ||
wsrep_sst_rsync_wan.1 |