Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Not a Bug
-
None
-
None
Description
IF a replica was set the server_id on the same value as the master
set global server_id = master_server_id;
it have an immediate effect without warning during running replication.
Only after a restart the well known message occured.
[ERROR] Slave I/O: Fatal error: The slave I/O thread stops because master and slave have equal MariaDB server ids;
|
An error should be thrown immediate. To Client and error log
The current behavior matches all other settings that have both global and session values. Setting the global does not modify existing sessions (a running slave thread corresponds to a session here).
If this was changed to work differently for server_id, it would be inconsistent.