Page MenuHomePhabricator

Remove dead "Service Lock" code from Almanac
ClosedPublic

Authored by epriestley on Apr 9 2018, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 12:00 AM
Unknown Object (File)
Thu, Apr 11, 8:17 AM
Unknown Object (File)
Sun, Apr 7, 10:58 PM
Unknown Object (File)
Sat, Mar 30, 4:40 PM
Unknown Object (File)
Sat, Mar 30, 4:39 PM
Unknown Object (File)
Sat, Mar 30, 4:39 PM
Unknown Object (File)
Sat, Mar 30, 4:39 PM
Unknown Object (File)
Mar 15 2024, 8:35 AM
Subscribers
None

Details

Summary

Depends on D19315. Ref T13120. Ref T12414. See PHI145. See PHI473. I want to move Almanac services to ModularTransactions but ran into this old piece of dead/unused code along the way.

Long ago, Almanac services could be individually "locked", but this didn't really work out very well. It was replaced by "Can Manage Cluster Services" in D15339 and prior changes, but not all of the old "Lock" code got cleaned up.

I don't expect to restore this feature, so clean it up now.

Test Plan
  • Grepped for AlmanacServiceTransaction::TYPE_LOCK, TYPE_LOCK, etc.
  • Grepped for updateServiceLock(), no callsites.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 9 2018, 5:12 PM
This revision was automatically updated to reflect the committed changes.