Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-2204

Modified Shutdown using systemd after Bootstrap to provide additional messaging

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 5.7.x, 8.0.x
    • 8.0.18-26.4.3.2-internal
    • Packaging
    • None

    Description

      This is Ubuntu 16.04 and PXC 5.7:

       

      As you can see below after bootstrap I do "service mysql stop"  it looks successful however when I try to connect to the server I see it was not shut down

       

      Expected Outcome:   Either success shutting it down or some clear error message to indicate the shutdown could not be performed

       

       

      [email protected]:~# service mysql bootstrap-pxc

      • Bootstrapping Percona XtraDB Cluster database server mysqld [ OK ]
        [email protected]:~# service mysql stop
        [email protected]:~# mysql
        Welcome to the MySQL monitor. Commands end with ; or \g.
        Your MySQL connection id is 221
        Server version: 5.7.22-22-57-log Percona XtraDB Cluster (GPL), Release rel22, Revision da86071, WSREP version 29.26, wsrep_29.26

      Copyright (c) 2009-2018 Percona LLC and/or its affiliates
      Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

      Oracle is a registered trademark of Oracle Corporation and/or its
      affiliates. Other names may be trademarks of their respective
      owners.

      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

      mysql> quit

       

       

       

      Attachments

        Issue Links

          Activity

            People

              alex.miroshnychenko Alex Miroshnychenko
              pz Peter Zaitsev
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 7 hours, 20 minutes
                  2d 7h 20m

                  Smart Checklist