Page MenuHomePhabricator

Parameterize PhabricatorGlobalLock
ClosedPublic

Authored by epriestley on Mar 5 2018, 10:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 10:42 PM
Unknown Object (File)
Sun, Dec 22, 10:42 PM
Unknown Object (File)
Sun, Dec 22, 10:42 PM
Unknown Object (File)
Sat, Dec 14, 4:16 PM
Unknown Object (File)
Fri, Dec 13, 4:44 AM
Unknown Object (File)
Tue, Dec 10, 10:57 AM
Unknown Object (File)
Sat, Nov 30, 6:31 AM
Unknown Object (File)
Sat, Nov 30, 4:01 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