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

Skip update of relay-log.info in GTID mode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.