LP #888114: Infinite loop in pt-query-digest if a report crashes

Description

**Reported in Launchpad by Daniel Nichter last update 19-06-2012 19:59:04

If anything crashes in the iteration pipeline process, which is where QueryReportFormatter is called, then the terminator pipeline process isn't called, and since --continue-on-error is on by default, the pipeline restarts, re-crashes, restarts, etc. The result is infinite report output.

Environment

None

Smart Checklist

Activity

lpjirasync January 24, 2018 at 2:57 PM

**Comment from Launchpad by: Daniel Nichter on: 23-05-2012 22:11:29

The iteration pipeline process, which is critical, is now retried twice if it dies, regardless of --continue-on-error. Because this process is critical, I though it's worth retrying because it's possible that one bad query class could cause a report to fail, but everything else would work fine. In any case, 3 attempts it better than an infinite loop, or no retries.

lpjirasync January 24, 2018 at 2:57 PM

**Comment from Launchpad by: Daniel Nichter on: 15-05-2012 01:21:32

Duplicate bug 997912

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created January 24, 2018 at 2:57 PM
Updated January 24, 2018 at 2:57 PM
Resolved January 24, 2018 at 2:57 PM

Flag notifications