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
F15523215: D20748.id49470.diff
Sun, Apr 20, 11:54 PM
F15511674: D20748.id.diff
Thu, Apr 17, 4:23 AM
F15510850: D20748.diff
Wed, Apr 16, 9:26 PM
F15499072: D20748.diff
Sun, Apr 13, 2:36 PM
F15477165: D20748.id49474.diff
Mon, Apr 7, 12:49 PM
F15465761: D20748.diff
Wed, Apr 2, 10:56 PM
F15430430: D20748.id49474.diff
Mar 24 2025, 7:38 AM
F15418142: D20748.diff
Mar 20 2025, 9:07 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.