HomePhorge

Add a "lock log" for debugging where locks are being held

Description

Add a "lock log" for debugging where locks are being held

Summary: Depends on D19173. Ref T13096. Adds an optional, disabled-by-default lock log to make it easier to figure out what is acquiring and holding locks.

Test Plan: Ran bin/lock log --enable, --disable, --name, etc. Saw sensible-looking output with log enabled and daemons restarted. Saw no additional output with log disabled and daemons restarted.

Maniphest Tasks: T13096

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

Details

Provenance
epriestleyAuthored on Mar 5 2018, 2:22 PM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rPfd367adbaf85: Parameterize PhabricatorGlobalLock
Branches
Unknown
Tags
Unknown

Event Timeline