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
F14090864: D20748.id49470.diff
Sun, Nov 24, 8:51 PM
F14090474: D20748.diff
Sun, Nov 24, 6:13 PM
Unknown Object (File)
Mon, Nov 18, 5:24 PM
Unknown Object (File)
Fri, Nov 15, 9:36 AM
Unknown Object (File)
Mon, Nov 11, 12:23 PM
Unknown Object (File)
Mon, Nov 11, 1:05 AM
Unknown Object (File)
Wed, Nov 6, 5:53 PM
Unknown Object (File)
Oct 24 2024, 3:28 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.