mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-25674: Add CHANGE MASTER TO master_retry_count
This new CHANGE MASTER TO field specifies the `--master-retry-count` (global option: the number of Primary connection attempts) for each multi-source replica; i.e, per-channel `performance_schema.` `replication_connection_configuration.CONNECTION_RETRY_COUNT`. `--master-retry-count` remains the default for new `CHANGE MASTER TO`s. This new keyword and `master-info` entry matches those of pre-‘REPLICATION SOURCE’ MySQL.
This commit is contained in:
@@ -255,7 +255,7 @@ void table_replication_connection_configuration::make_row(Master_info *mi)
|
||||
|
||||
m_row.connection_retry_interval= (unsigned int) mi->connect_retry;
|
||||
|
||||
m_row.connection_retry_count= master_retry_count; //(ulong) mi->retry_count;
|
||||
m_row.connection_retry_count= mi->retry_count;
|
||||
|
||||
m_row.heartbeat_interval= (double)mi->heartbeat_period;
|
||||
|
||||
|
Reference in New Issue
Block a user