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
F22907382: D21671.diff
Sat, Oct 17, 1:20 PM
F22782431: D21671.diff
Tue, Oct 6, 8:30 AM
F22753960: D21671.diff
Sun, Oct 4, 11:59 PM
F22674922: D21671.id51570.diff
Thu, Oct 1, 9:19 PM
F22559301: D21671.id51573.diff
Wed, Sep 23, 11:38 PM
Unknown Object (File)
Aug 13 2026, 2:07 AM
Unknown Object (File)
Jul 10 2026, 9:38 PM
Unknown Object (File)
Jun 26 2026, 5:35 AM
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.