Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.2.5
Description
When starting 10.2 with server-id=0 or without server-id configured, following note is printed:
2017-05-01 8:26:22 140643309708800 [Warning] option 'server_id': unsigned value 0 adjusted to 1
And the value indeed becomes '1'
MariaDB [(none)]> show variables like 'server_id'; |
+---------------+-------+ |
| Variable_name | Value |
|
+---------------+-------+ |
| server_id | 1 |
|
+---------------+-------+ |
According to documentation '0' is valid value for server_id indicating that this server is not intended to be part of replication.
Thus either 0 should preserve as valid value or documentation must be changed.
Attachments
Issue Links
- relates to
-
MDEV-12597 mysqld --version prints unrelated messages
-
- Closed
-
I don't mind having server_id=1 by default; we just need to update documentation and probably provide instructions about steps which make sure that particular instance is not part of replication (if DBA want that and we want such feature) https://github.com/MariaDB/server/commit/1c91569 , (plus fix
MDEV-12597)