[MDEV-4988] Skip update of relay-log.info in GTID mode Created: 2013-09-03  Updated: 2013-11-21  Resolved: 2013-11-21

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Kristian Nielsen Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: gtid


 Description   

In GTID mode, the current slave pos is stored crash-safe in
mysql.gtid_slave_pos. There is no need to update the relay-log.info file after
every event group, which is not crash-safe anyway and costs performance
(write(2) syscall for every transaction).

Especially with parallel replication, the update of relay-log.info could
start to hurt.

It could perhaps be an option, in case some existing monitoring solutions want
to read the file from outside the server rather than use SHOW SLAVE STATUS.



 Comments   
Comment by Kristian Nielsen [ 2013-11-21 ]

I believe this was done as part of MDEV-4506.

Generated at Thu Feb 08 07:00:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.