Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4988

Skip update of relay-log.info in GTID mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            knielsen Kristian Nielsen added a comment -

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

            Show
            knielsen Kristian Nielsen added a comment - I believe this was done as part of MDEV-4506 .

              People

              • Assignee:
                knielsen Kristian Nielsen
                Reporter:
                knielsen Kristian Nielsen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: