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

Expose binlog file and position of last transaction.

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Replication
    • None

    Description

      Hi,

      the GTID of the last transaction is exposed via the last_gtid session variable ([1]).

      [1]: https://mariadb.com/kb/en/mariadb/gtid/#last_gtid

      In a Binlog Server deployment ([2]), the binlog file and position is a GTID. So knowing the binlog file and position of the last transaction is as valuable as knowing the GTID of the last transaction.

      [2]: https://blog.booking.com/abstracting_binlog_servers_and_mysql_master_promotion_wo_reconfig...

      So please consider exposing the binlog file and position of the last transaction in a session variable.

      Also please consider exposing that in at the protocol level in the OK packet (related to MDEV-11956).

      Many thanks,

      JFG

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeanfrancois.gagne Jean-François Gagné
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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