mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
a354e5fa6b
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
2 lines
98 B
SQL
2 lines
98 B
SQL
UPDATE {$NAMESPACE}_daemon.daemon_log
|
|
SET daemonID = CONCAT('legacy-', id) WHERE daemonID = '';
|