Homec4science

Daemons - better handle rogue daemons from phd

Authored by Bob Trahan <btrahan@phacility.com> on Aug 27 2014, 21:24.

Description

Daemons - better handle rogue daemons from phd

Summary: Ref T2374. While building D10367 I noticed that phd was finding rogue daemons way more than it should be. Re-jigger this code path so rogue daemons are checked for *after* we've dealt with known daemons. This keeps the logic pretty simple overall.

Test Plan: phd start; kill pid files; phd stop and get the right warning; phd stop --force and it kills the rogue demons. phd stop in normal conditions no longer reporting rogue daemons erroneously

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T2374

Differential Revision: https://secure.phabricator.com/D10368

Details

Committed
Bob Trahan <btrahan@phacility.com>Aug 27 2014, 21:24
Pushed
aubortJan 31 2017, 17:16
Parents
rPH85b767bbdc65: Notifications - fix pager
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPH2fdd7f0f3d2e: Daemons - better handle rogue daemons from phd (authored by Bob Trahan <btrahan@phacility.com>).Aug 27 2014, 21:24