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

change debian packaging to not run mariadb-upgrade at the same time as anything

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • 10.5
    • Packaging
    • None

    Description

      Spider, CS and potentially other plugins install udf functions, stored functions and stored procedures. The mysql_upgrade is changes the format of mysql.func, proc and other system tables related to those operations. Evidenced by:

      Including but not limited to:

      • User connections
      • Installation of other packages (e.g. spider, CS) and their plugins

      A solution part of packaging might look like:

      mysql_upgrade --check-if-upgrade-is-needed

      followed by a temporary start of the server (additional options - https://jira.mariadb.org/browse/MDEV-27068?focusedCommentId=207708&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-207708), maybe put these in a [mariadb.upgrade] group the in the configuration file and use --defaults-group-suffix=.upgrade.

      followed by mysql_upgrade --upgrade-system-tables

      Attachments

        Issue Links

          Activity

            People

              illuusio Tuukka Pasanen
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.