Page MenuHomePhabricator

Provide a simple read-only maintenance mode for repositories
ClosedPublic

Authored by epriestley on Aug 29 2019, 8:05 PM.
Tags
None
Referenced Files
F19044601: D20748.id.diff
Nov 27 2025, 3:51 AM
F19043446: D20748.diff
Nov 26 2025, 10:26 PM
F18830060: D20748.id.diff
Oct 25 2025, 3:51 AM
F18825549: D20748.diff
Oct 23 2025, 10:42 PM
F18755073: D20748.id49470.diff
Oct 5 2025, 3:27 AM
F18570562: D20748.id49474.diff
Sep 10 2025, 3:55 AM
F18570561: D20748.id49470.diff
Sep 10 2025, 3:55 AM
F18567335: D20748.id.diff
Sep 9 2025, 3:41 PM
Subscribers
None

Details

Summary

Ref T13393. While doing a shard migration in the Phacility cluster, we'd like to stop writes to the migrating repository. It's safe to continue serving reads.

Add a simple maintenance mode for making repositories completely read-only during maintenance.

Test Plan

Put a repository into read-only mode, tried to write via HTTP + SSH. Viewed web UI. Took it back out of maintenance mode.

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.Aug 29 2019, 10:23 PM
This revision was automatically updated to reflect the committed changes.