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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1.1
    • Fix Version/s: 10.1.2
    • Component/s: Galera
    • Labels:

      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"
      

        Gliffy Diagrams

          Attachments

            Activity

            Show
            nirbhay_c Nirbhay Choubey added a comment - http://lists.askmonty.org/pipermail/commits/2014-October/006860.html
            Hide
            serg Sergei Golubchik added a comment -

            ok

            Show
            serg Sergei Golubchik added a comment - ok

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey
                Reporter:
                nirbhay_c Nirbhay Choubey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: