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

mariadb in-server upgrade

    XMLWordPrintable

Details

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

    Description

      The competing requirements around mariadb-upgrade make the current solution undesirable:

      • mariadb-upgrade should be conducted without user load
      • multiple startups of the server takes time and can was a lot of time in innodb recovery/page loading
      • scripted deployments shouldn't bare the responsibility of understanding the complexity
      • service scripts like systemd and containers make mariadb available on sd_notify=READY or the network connection being listened too.

      So ideally:

      • compile the upgrade SQL into the server (cold attribute)
      • Use include/mysql/service_sql.h or bootstrap like interface to run the SQL
      • allow skipping by non-default system variable auto_upgrade=1
      • execute before tcp/unix sockets are bound/listening
      • use service_manager_extend_timeout in some way
      • lock state file like mariadb-upgrade (and keep this for compatibility)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              danblack Daniel Black
              Votes:
              3 Vote for this issue
              Watchers:
              9 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.