HomePhabricator

Track daemon unique IDs in Phabricator daemon logs

Description

Track daemon unique IDs in Phabricator daemon logs

Summary:
Ref T7352. We were previously identifying things by <daemonClass, overseerPID, startTime> but that's not unique in a world where one overseer can run multiple daemons.

We already have an internal "daemonID", it just doesn't get written into the DB right now.

Start writing it, then use it to clean up phd status.

Test Plan: Ran phd status, got more accurate/useful output than previously.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7352

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Feb 24 2015, 10:51 PM
Reviewer
btrahan
Differential Revision
D11865: Track daemon unique IDs in Phabricator daemon logs
Parents
rPef22fe1e743c: Add a --force command to `phd start`
Branches
Unknown
Tags
Unknown
Tasks
T7352: Improve daemon scalability in the cluster