Percona XtraDB Cluster - HA scalable solution for MySQL

Patched mysqld_safe has mysqladmin

Reported by Raghavendra D Prabhu on 2013-12-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster
Status tracked in Trunk
5.6
Undecided
Unassigned
Trunk
Undecided
Raghavendra D Prabhu

Bug Description

-trap '' 1 2 3 15 # we shouldn't let anyone kill us
-trap '' 13 # not even SIGPIPE
-
 # MySQL-specific environment variable. First off, it's not really a umask,
 # it's the desired mode. Second, it follows umask(2), not umask(3) in that
 # octal needs to be explicit. Our shell might be a proper sh without printf,
@@ -739,6 +736,12 @@
   fi
 fi

+# From now on, we catch signals to do a proper shutdown of mysqld
+# when signalled to do so.
+#
+trap '/usr/sbin/service mysql reload' 1 # HUP
+trap '/usr/sbin/service mysql stop' 2 3 13 15 # INT QUIT PIPE and TERM
+
 #
 # Uncomment the following lines if you want all tables to be automatically
 # checked and repaired during startup. You should add sensible key_buffer

part can make it incompatible.

Removing it from 00list for now.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers