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

minor upgrade does not perform server restart

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5, 10.6
    • 10.2.38, 10.3.29
    • Packaging
    • None
    • sles12, sles15

    Description

      upgrade without uninstalling does not work:

       
      ( 1/18) Installing: MariaDB-backup-debuginfo-10.2.37_10-1.x86_64 ................................................................................................................................................................[done]
      ( 2/18) Installing: MariaDB-client-debuginfo-10.2.37_10-1.x86_64 ................................................................................................................................................................[done]
      ( 3/18) Installing: MariaDB-common-10.2.37_10-1.x86_64 ..........................................................................................................................................................................[done]
      ( 4/18) Installing: MariaDB-common-debuginfo-10.2.37_10-1.x86_64 ................................................................................................................................................................[done]
      ( 5/18) Installing: MariaDB-devel-debuginfo-10.2.37_10-1.x86_64 .................................................................................................................................................................[done]
      ( 6/18) Installing: MariaDB-gssapi-server-debuginfo-10.2.37_10-1.x86_64 .........................................................................................................................................................[done]
      ( 7/18) Installing: MariaDB-rocksdb-engine-debuginfo-10.2.37_10-1.x86_64 ........................................................................................................................................................[done]
      ( 8/18) Installing: MariaDB-server-debuginfo-10.2.37_10-1.x86_64 ................................................................................................................................................................[done]
      ( 9/18) Installing: MariaDB-shared-debuginfo-10.2.37_10-1.x86_64 ................................................................................................................................................................[done]
      (10/18) Installing: galera-enterprise-3-25.3.32-1.x86_64 ........................................................................................................................................................................[done]
      (11/18) Installing: MariaDB-shared-10.2.37_10-1.x86_64 ..........................................................................................................................................................................[done]
      (12/18) Installing: MariaDB-devel-10.2.37_10-1.x86_64 ...........................................................................................................................................................................[done]
      (13/18) Installing: MariaDB-client-10.2.37_10-1.x86_64 ..........................................................................................................................................................................[done]
      (14/18) Installing: MariaDB-backup-10.2.37_10-1.x86_64 ..........................................................................................................................................................................[done]
      (15/18) Installing: MariaDB-server-10.2.37_10-1.x86_64 ..........................................................................................................................................................................[done]
      (16/18) Installing: MariaDB-rocksdb-engine-10.2.37_10-1.x86_64 ..................................................................................................................................................................[done]
      (17/18) Installing: MariaDB-gssapi-server-10.2.37_10-1.x86_64 ...................................................................................................................................................................[done]
      (18/18) Installing: MariaDB-cracklib-password-check-10.2.37_10-1.x86_64 .........................................................................................................................................................[done]
      There are some running programs that might use files deleted by recent upgrade. You may wish to check and restart some of them. Run 'zypper ps -s' to list these programs.
       
      turenko@mdbci-hw5cz7mm-1613413172-build:~> sudo zypper ps -s
      The following running processes use deleted files:
       
      PID   | PPID  | UID | User  | Command          | Service
      ------+-------+-----+-------+------------------+--------
      13365 | 13262 | 490 | mysql | mysqld (deleted) | mysql  
       
      You may wish to restart these processes.
      See 'man zypper' for information about the meaning of values in the above table.
      
      

      version after upgrade attempt:

      echo "select version()" | sudo mysql
      version()
      10.2.36-10-MariaDB-enterprise
      

      after server restart everything is ok. In other distros restart happens automatically

      Attachments

        Issue Links

          Activity

            ● mariadb.service - MariaDB 10.3.29-12 database server
               Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
              Drop-In: /etc/systemd/system/mariadb.service.d
                       └─migrated-from-my.cnf-settings.conf
               Active: inactive (dead)
                 Docs: man:mysqld(8)
                       https://mariadb.com/kb/en/library/systemd/
            

            abychko Alexey Bychko (Inactive) added a comment - ● mariadb.service - MariaDB 10.3.29-12 database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled) Drop-In: /etc/systemd/system/mariadb.service.d └─migrated-from-my.cnf-settings.conf Active: inactive (dead) Docs: man:mysqld(8) https://mariadb.com/kb/en/library/systemd/

            adjusted the restart logic on upgrade

            abychko Alexey Bychko (Inactive) added a comment - adjusted the restart logic on upgrade

            actually, we see the sum of few bugs here. whole upgrade logic is broken

            abychko Alexey Bychko (Inactive) added a comment - actually, we see the sum of few bugs here. whole upgrade logic is broken

            in general it's fixed, pushed to ES and CS. ES is done, waiting for CS 10.2

            abychko Alexey Bychko (Inactive) added a comment - in general it's fixed, pushed to ES and CS. ES is done, waiting for CS 10.2

            pushed to CS also

            abychko Alexey Bychko (Inactive) added a comment - pushed to CS also

            People

              abychko Alexey Bychko (Inactive)
              tturenko Timofey Turenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.