MDEV-35239 Mariabackup incorrectly thinks we are on a multithreaded slave if slave_parallel_workers > 0

don't require GTID enabled for multi-threaded slave in MariaDB

it's only needed for MySQL with it out-of-order commits.
This commit is contained in:
Sergei Golubchik 2024-10-25 13:41:28 +02:00
parent 4e9c7031a5
commit 680d461b5d

View file

@ -614,7 +614,7 @@ detect_mysql_capabilities_for_backup()
} }
if (opt_slave_info && have_multi_threaded_slave && if (opt_slave_info && have_multi_threaded_slave &&
!have_gtid_slave) { !have_gtid_slave && server_flavor != FLAVOR_MARIADB) {
msg("The --slave-info option requires GTID enabled for a " msg("The --slave-info option requires GTID enabled for a "
"multi-threaded slave."); "multi-threaded slave.");
return(false); return(false);