Page MenuHomePhabricator

Parameterize PhabricatorGlobalLock
ClosedPublic

Authored by epriestley on Mar 5 2018, 10:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 22, 8:34 PM
Unknown Object (File)
Sat, Feb 15, 1:27 PM
Unknown Object (File)
Sun, Feb 9, 5:36 AM
Unknown Object (File)
Sun, Feb 9, 5:36 AM
Unknown Object (File)
Sun, Feb 9, 5:36 AM
Unknown Object (File)
Sun, Feb 9, 5:36 AM
Unknown Object (File)
Mon, Feb 3, 5:58 PM
Unknown Object (File)
Jan 25 2025, 12:28 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