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
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | Replication [ 10100 ] | |
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. {code:java} [ERROR] Slave I/O: Fatal error: The slave I/O thread stops because master and slave have equal MariaDB server ids; {code} An error should be thrown immediate. To Client and error log |
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. {code:java} [ERROR] Slave I/O: Fatal error: The slave I/O thread stops because master and slave have equal MariaDB server ids; {code} An error should be thrown immediate. To Client and error log |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Assignee | Brandon Nesterenko [ JIRAUSER48702 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Not a Bug [ 6 ] | |
Status | Confirmed [ 10101 ] | Closed [ 6 ] |
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.