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

AliSQL: [Feature] Issue#16 OMIT MAINTAINING OWNED_GTID SET IF GTID IS AUTO-GENERATED

    XMLWordPrintable

Details

    Description

      Description:
      ------------
      Before this patch, the life cycle for a GTID like the following:
      Generate a GTID => Add the GTID into owned_gtid => Flush the GTID into binlog
      => Remove the GTID from owned_gtid. Owned_gtid can be treated as an intermediate
      set to hold all of the GTIDs of current thread.
       
      After this patch, the life cycle for such a GTID can be like this:
      Generate a GTID => Add the GTID into binlog. Of course, if anything
      wrong happens, we have to remove the GTID from the binlog. Before this
      patch, we can remove the GTID from owned_gtid. Obviously, we shortened
      the life cycle of GTID.
       
      In order to support this feature, we introduced a new system variable
      "rds_gtid_precommit". If it's on, we will change the life cycle of GTID.
      

      https://github.com/alibaba/AliSQL/commit/aa5e331b00272e5b972a411d17f1079550eb04c1

      Attachments

        Activity

          People

            Elkin Andrei Elkin
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.