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

Systemd does not perform --wsrep-recover on restart

    Details

      Description

      The systemd scripts packaged with MariaDB execute mysqld directly. This in turn prevents the --wsrep-recover and --wsrep-start-position mechanism from kicking in, as this mechanism is only found in mysqld_safe.

      As a result, restarting a crashed mysqld via systemd will always cause SST to take place even if IST is available:

      Jun 16 05:53:23 centos7 mysqld[3091]: 2016-06-16  5:53:23 140118583347328 [Note] WSREP: Assign initial position for certification: -1, protocol version: -1
      ...
      Jun 16 05:53:23 centos7 mysqld[3091]: 2016-06-16  5:53:23 140118583032576 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state seqno is undefined: 1 (Operation not permitte
      Jun 16 05:53:23 centos7 mysqld[3091]: at galera/src/replicator_str.cpp:prepare_for_IST():491. IST will be unavailable.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey (Inactive)
                Reporter:
                philip-galera Philip Stoev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: