Page MenuHomePhabricator

Remove dead "Service Lock" code from Almanac
ClosedPublic

Authored by epriestley on Apr 9 2018, 5:11 PM.
Tags
None
Referenced Files
F15538540: D19316.id46219.diff
Thu, Apr 24, 7:53 PM
F15538538: D19316.id.diff
Thu, Apr 24, 7:53 PM
F15538537: D19316.id46221.diff
Thu, Apr 24, 7:53 PM
F15515528: D19316.id46221.diff
Fri, Apr 18, 11:21 AM
F15478759: D19316.id46219.diff
Tue, Apr 8, 2:37 AM
F15439012: D19316.diff
Mar 26 2025, 5:12 AM
F15422024: D19316.diff
Mar 22 2025, 4:46 AM
F15421959: D19316.id46219.diff
Mar 22 2025, 4:01 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.