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

MariaDB fails to start without galera_recovery in systemd mode

Details

    Description

      We compile our own MariaDB packages, and all galera and wsrep files have been separated into a subpackage along with its dependencies and configuration files.

      After upgrading from 10.1.14 to 10.1.16, mariadb server fails to start due to missing the galera_recovery script. From what I can gather in the systemd configuration, it could/should check for the existance of galera_recovery before attempting to run it.

      As a workaround I could include the script in the server subpackage, but I am uncertain whether that would actually work since it might just error out due to other missing wsrep/galera files.

      The cleanest way I think would be to only run the script if it exists, and otherwise assume galera is not activated. Possibly check for some other file(s) as well and return a warning if galera is present such that it can be activated but the recovery script is missing.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Nirbhay Choubey (Inactive) made transition -
            Open Confirmed
            11d 7h 28m 1
            Nirbhay Choubey (Inactive) made transition -
            Confirmed In Progress
            7h 10m 1
            Nirbhay Choubey (Inactive) made transition -
            In Progress In Review
            35s 1
            Sergey Vojtovich made transition -
            In Review Stalled
            1d 8h 16m 1
            Nirbhay Choubey (Inactive) made transition -
            Stalled Closed
            18h 14m 1

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              Dead2 Hans Kristian Rosbach
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.