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

Pause service after all transactions are complete

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • None
    • 2.4.0
    • Core
    • None

    Description

      A feature to pause the execution of queries once all active transactions have finished would allow controlled switchover of masters without needing to replay transactions.

      Another feature that closely matches this is the ability to put a server into maintenance without forcefully closing open transactions. Having a grace period during which open transactions can finish would guarantee a consistent point in time at which the connection is closed. This also removes the need to replay the transaction in the case where a server is put into maintenance mode.

      There are three modes of operation that make this feature very compelling:

      • Set server maintenance but wait for transactions to complete, effectively draining one server: set server 10.8.1.105 maintenance with-drain
      • Put all servers into maintenance mode at once, effectively draining all servers: set server ALL maintenance with-drain
      • Put all servers into maintenance mode before a shutdown: shutdown maxscale with-drain

      Attachments

        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.