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
F13189027: D20748.diff
Sat, May 11, 5:40 AM
Unknown Object (File)
Tue, May 7, 9:35 AM
Unknown Object (File)
Sat, Apr 27, 10:17 AM
Unknown Object (File)
Fri, Apr 26, 6:06 PM
Unknown Object (File)
Fri, Apr 26, 1:01 AM
Unknown Object (File)
Wed, Apr 24, 10:59 AM
Unknown Object (File)
Tue, Apr 23, 10:34 PM
Unknown Object (File)
Sat, Apr 20, 4:54 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.