Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.0.15
-
Fix Version/s: 10.0
-
Component/s: Replication
-
Labels:
Description
Ever since migrating to mariadb with named masters; besides useful relay logs (named mysql-relay-bin-SERVER which are properly removed) we have a lot of useless, empty relay logs on all our servers. It seems every FLUSH LOGS (which we execute daily) results in an additional file. They are all 297 bytes.
These shouldn't be created since we only have named masters.
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
MDEV-8596 Detect conflicts between file name settings of similarly named variables
-
- Open
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Strangely, I don't get these default relay logs if I only ever configure named slaves.
Could it be that you once ran change master to ..., even though you never actually started this anonymous slave? It would behave exactly as you described.
The easy way to check it is to run SHOW ALL SLAVES STATUS \G command. It will return a row per each configured slave; the first field is 'Connection_name' – if it's empty, it is the anonymous slave.
If it's there and you don't want it, you can run RESET SLAVE '' ALL.