Page MenuHomePhabricator

Parameterize PhabricatorGlobalLock
ClosedPublic

Authored by epriestley on Mar 5 2018, 10:11 PM.
Tags
None
Referenced Files
F19102731: D19173.diff
Fri, Dec 5, 7:43 AM
F18852292: D19173.id45927.diff
Oct 31 2025, 7:51 AM
F18836906: D19173.id45929.diff
Oct 27 2025, 3:49 AM
F18836905: D19173.id45927.diff
Oct 27 2025, 3:49 AM
F18836902: D19173.id.diff
Oct 27 2025, 3:48 AM
F18834105: D19173.diff
Oct 26 2025, 6:54 AM
F18816591: D19173.id.diff
Oct 21 2025, 8:00 AM
F18761122: D19173.id45929.diff
Oct 6 2025, 12:23 PM
Subscribers
None

Details

Summary

Ref T13096. Currently, we do a fair amount of clever digesting and string manipulation to build lock names which are less than 64 characters long while still being reasonably readable.

Instead, do more of this automatically. This will let lock acquisition become simpler and make it more possible to build a useful lock log.

Test Plan

Ran bin/repository update, saw a reasonable lock acquire and release.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable