Page MenuHomePhabricator

Provide an ad-hoc maintenance lock for clustered repositories
ClosedPublic

Authored by epriestley on Jun 1 2021, 3:17 PM.
Tags
None
Referenced Files
F19418039: D21671.id51573.diff
Sat, Dec 27, 10:33 PM
F19152251: D21671.diff
Dec 11 2025, 1:45 AM
F19152163: D21671.diff
Dec 11 2025, 1:02 AM
F19070853: D21671.diff
Nov 30 2025, 6:00 PM
F18915983: D21671.id.diff
Nov 9 2025, 8:14 AM
F18906897: D21671.diff
Nov 8 2025, 8:58 PM
F18867235: D21671.diff
Nov 3 2025, 10:29 PM
F18793006: D21671.diff
Oct 16 2025, 8:36 PM
Subscribers
None

Details

Summary

Ref T13614. Provide "bin/repository lock" to temporarily lock repositories for manual maintenance.

Test Plan
  • Read instructions.
  • Used bin/repository lock according to the instructions.
  • Saw Storage tab in Diffusion report lock held during maintenance, released after it completes.
  • Saw "maintenance" push log generated and repository version bump.
  • Tried to lock some invalid repositories.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 1 2021, 3:30 PM
This revision was automatically updated to reflect the committed changes.