Not the answer you need?
Register and ask your own question!

different behaviour for --stop between pt-kill and pt-heartbeat?

alexhalexh EntrantInactive User Role Beginner
Hi,

it seems that pt-kill and pt-heartbeat behave differently in regards to the --stop and --sentinel options.

I can easily put something like this into a cron for pt-heartbeat to restart it regularly:
30 * * * * root /usr/bin/pt-heartbeat --utc --update --interval 1 --host XXX --database percona --table heartbeat --stop --sentinel /tmp/pt-heartbeat-hourly>/dev/null

I couldn't find a way to easily achieve the same for pt-kill.

Am I missing something or is there a difference between these two tools?

Thanks
Alex
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.