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

mysqld should auto-terminate when started with --wsrep-recover

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.1.1
    • 10.1.2
    • Galera

    Description

      There is a stage in mysqld_safe when it tries to recover mysqld's
      database state by starting it with --wsrep-recover. The server is expected
      to exit after recovery. After which, mysqld_safe attempts to start the server
      again.

      However, if server is started using mysqld_safe with wsrep disabled,
      mysqld wouldn't terminate post recovery. Due to this init commands
      like stop, start won't work as the pid file used to start mysql is different
      from what init script expects.

        local wr_pidfile="$DATADIR/"`@HOSTNAME@`"-recover.pid"

      Attachments

        Activity

          nirbhay_c Nirbhay Choubey (Inactive) created issue -
          nirbhay_c Nirbhay Choubey (Inactive) made changes -
          Field Original Value New Value
          Assignee Nirbhay Choubey [ nirbhay_c ]
          nirbhay_c Nirbhay Choubey (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          nirbhay_c Nirbhay Choubey (Inactive) added a comment - http://lists.askmonty.org/pipermail/commits/2014-October/006860.html
          nirbhay_c Nirbhay Choubey (Inactive) made changes -
          Assignee Nirbhay Choubey [ nirbhay_c ] Sergei Golubchik [ serg ]
          Status In Progress [ 3 ] In Review [ 10002 ]
          nirbhay_c Nirbhay Choubey (Inactive) made changes -
          Summary mysqld should terminate when started with --wsrep-recover mysqld should auto-terminate when started with --wsrep-recover

          ok

          serg Sergei Golubchik added a comment - ok
          serg Sergei Golubchik made changes -
          Assignee Sergei Golubchik [ serg ] Nirbhay Choubey [ nirbhay_c ]
          Status In Review [ 10002 ] Stalled [ 10000 ]
          nirbhay_c Nirbhay Choubey (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 56713 ] MariaDB v3 [ 65242 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 65242 ] MariaDB v4 [ 148368 ]

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            nirbhay_c Nirbhay Choubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.