Merge pull request #417 from percona/PT-1759

PT-1759 pt-stalk not collecting processlist and vars
This commit is contained in:
Carlos Salguero
2019-09-13 11:46:36 -03:00
committed by GitHub
2 changed files with 9 additions and 5 deletions
+4
View File
@@ -1,5 +1,9 @@
Changelog for Percona Toolkit
* Fixed bug PT-1759: pt-stalk not collecting processlist and variables
v3.1.0 release 2019-09-12
* Fixed bug PT-1114: pt-table-checksum fails when table is empty
* Fixed bug PT-1344: pt-online-schema-change: Use of uninitialized value $host in string
* Fixed bug PT-1575: pt-mysql-summary does not print PXC section for PXC 5.6 and 5.7
+5 -5
View File
@@ -955,12 +955,12 @@ collect() {
(echo $ts; df -k) >> "$d/$p-df" &
(echo $ts; netstat -antp) >> "$d/$p-netstat" &
(echo $ts; netstat -s) >> "$d/$p-netstat_s" &
fi
(echo $ts; $CMD_MYSQL $EXT_ARGV -e "SHOW FULL PROCESSLIST\G") \
fi
($CMD_MYSQL $EXT_ARGV -e "SHOW FULL PROCESSLIST\G") \
>> "$d/$p-processlist" &
if [ "$have_lock_waits_table" ]; then
(echo $ts; lock_waits) >>"$d/$p-lock-waits" &
(echo $ts; transactions) >>"$d/$p-transactions" &
(lock_waits) >>"$d/$p-lock-waits" &
(transactions) >>"$d/$p-transactions" &
fi
if [ "${mysql_version}" '>' "5.6" ] && [ $ps_instrumentation_enabled == "yes" ]; then
@@ -968,7 +968,7 @@ collect() {
fi
if [ "${mysql_version}" '>' "5.6" ]; then
(echo $ts; ps_prepared_statements) >> "$d/$p-prepared-statements" &
(ps_prepared_statements) >> "$d/$p-prepared-statements" &
fi
slave_status "$d/$p-slave-status" "${mysql_version}"