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

[PATCH] MariaDB start script doesn't realize failure of MariaDB startup

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0.12
    • Fix Version/s: 5.5.39, 10.0.13
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux testhost 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      Description

      Startup script(support-files/mysql.server) does not realize failure of MariaDB startup. So Startup script waiting for $service_startup_timeout.

      [root@testhost mysql]# service mysql start
      Starting MySQL...........................................................................................................................................................................................^C

      This startup script call wait_for_ready() function after starting mysqld_safe.
      But mysqld process terminated before wait_for_ready() function is check the mysql server.
      So wait_for_ready() function loop during $service_startup_timeout seconds in spite of mysqld already terminated.

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              Matt74 Seunguck Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: