Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1507

Transaction replay

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • readwritesplit
    • None

    Description

      Overview

      Open transactions can be replayed on a replacement server if the following criteria are met:

      • Only SELECT ... FOR UPDATE reads have been done
      • The contents of the SELECT ... FOR UPDATE statements are identical

      This does not provide a 100% guarantee of an identical end result for the migration as the storage engine can alter the locking order of rows.

      Task Details

      • Track transaction contents
      • Calculate checksum/hash for SELECT ... FOR UPDATE results
      • Replay executed queries

      Some of the session command code can be reused or re-purposed to handle the execution of the commands.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.