pt-stalk cannot collect without stalking

Bug #932331 reported by Jay Janssen
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Daniel Nichter

Bug Description

pt-stalk has --[no]collect, but it can't do the reverse: collect without stalking. If there's a problem happening NOW(), but the tool isn't running, one has to trick the tool into collecting immediately (e.g. --variable Uptime --threshold 1). As Jay notes, "Ya can't take away our pt-collect and not give us a replacement!"

Tags: pt-stalk

Related branches

summary: - new pt-stalk needs a --do-collect-now-and-dont-stalk option
+ pt-stalk cannot collect without stalking
Changed in percona-toolkit:
milestone: none → 2.0.4
status: New → Confirmed
description: updated
tags: added: pt-stalk
Revision history for this message
Baron Schwartz (baron-xaprb) wrote :

One of the specs we had was to allow this functionality. I'm not sure if it's in a blueprint that got lost, or an email, or what. But there should be a --no-stalk --collect type of functionality.

Changed in percona-toolkit:
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Daniel Nichter (daniel-nichter)
Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

[12:04] Daniel: Baron: pt-stalk --no-stalk: collect once and exit, or respect --run-time, --iterations, --daemonize, etc. and possibly keep re-collecting every next iter?
[12:04] Baron: Daniel, once and exit
[12:04] Baron: no daemonize, etc
[12:08] Daniel: Baron: still do safety checks, i.e. just disk space atm?
[12:10] Baron: Daniel, yeah I think so

Changed in percona-toolkit:
status: In Progress → Triaged
Changed in percona-toolkit:
status: Triaged → In Progress
Changed in percona-toolkit:
status: In Progress → Fix Committed
summary: - pt-stalk cannot collect without stalking
+ pt-stalk cannot collect without stalking (add --[no]stalk)
summary: - pt-stalk cannot collect without stalking (add --[no]stalk)
+ pt-stalk cannot collect without stalking
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-473

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.