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
Unknown Object (File)
Sat, Mar 23, 7:06 PM
Unknown Object (File)
Tue, Mar 5, 2:44 PM
Unknown Object (File)
Feb 8 2024, 6:16 PM
Unknown Object (File)
Feb 3 2024, 11:07 PM
Unknown Object (File)
Jan 25 2024, 2:09 AM
Unknown Object (File)
Dec 24 2023, 11:54 PM
Unknown Object (File)
Dec 15 2023, 6:42 AM
Unknown Object (File)
Nov 30 2023, 2:27 AM
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.