1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/applications/daemon/management
epriestley 136af8d2ab Do not perform write in PhabricatorDaemonLogQuery by default
Summary:
See <http://github.com/facebook/phabricator/issues/487>. By default, we perform a write in this query to moved daemons to "dead" status after a timeout. This is normally reasonable, but after D7964 we do a setup check against the daemons, which means this query is invoked very early in the stack, before we have a write guard.

Since doing this write unconditionally is unnecessarily, surprising, and overly ambitious, make the write conditional and do not attempt to perform it from the setup check.

(We could also move this to a GC/cron sort of thing eventually, maybe -- it's a bit awkward here, but we don't have other infrastructure which is a great fit right now.)

Test Plan: Hit setup issues and daemon pages. Will confirm with user that this fixes things.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D8023
2014-01-21 14:04:12 -08:00
..
PhabricatorDaemonManagementDebugWorkflow.php Improve phd help 2013-08-06 09:10:53 -07:00
PhabricatorDaemonManagementLaunchWorkflow.php Improve phd help 2013-08-06 09:10:53 -07:00
PhabricatorDaemonManagementListWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementLogWorkflow.php Do not perform write in PhabricatorDaemonLogQuery by default 2014-01-21 14:04:12 -08:00
PhabricatorDaemonManagementRestartWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementStartWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementStatusWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementStopWorkflow.php Modernize architecture of phd 2013-07-18 15:28:56 -07:00
PhabricatorDaemonManagementWorkflow.php Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00