Page MenuHomePhabricator

Parameterize PhabricatorGlobalLock
ClosedPublic

Authored by epriestley on Mar 5 2018, 10:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 2:52 AM
Unknown Object (File)
Sat, Nov 23, 11:12 AM
Unknown Object (File)
Thu, Nov 21, 2:41 PM
Unknown Object (File)
Wed, Nov 20, 5:17 PM
Unknown Object (File)
Sun, Nov 17, 3:03 PM
Unknown Object (File)
Sun, Nov 3, 10:24 PM
Unknown Object (File)
Sun, Nov 3, 3:43 PM
Unknown Object (File)
Sat, Nov 2, 6:57 AM
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