Page MenuHomePhabricator

When no master database is configured, automatically degrade to read-only mode
ClosedPublic

Authored by epriestley on Apr 10 2016, 12:24 PM.
Tags
None
Referenced Files
F18818727: D15672.id37776.diff
Wed, Oct 22, 1:58 AM
F18803349: D15672.id.diff
Fri, Oct 17, 11:00 PM
F18793546: D15672.diff
Thu, Oct 16, 9:36 PM
F18691323: D15672.diff
Sep 26 2025, 9:06 PM
F18680271: D15672.id37764.diff
Sep 26 2025, 2:28 AM
F17949760: D15672.diff
Jul 31 2025, 11:49 PM
F17625416: D15672.diff
Jul 10 2025, 3:15 AM
Unknown Object (File)
Jun 18 2025, 9:18 PM
Subscribers
None

Details

Summary

Ref T4571. If cluster.databases is configured but only has replicas, implicitly drop to read-only mode and send writes to a replica.

Test Plan
  • Disabled the master, saw Phabricator automatically degrade into read-only mode against replicas.
  • (Also tested: explicit read-only mode, non-cluster mode, properly configured cluster mode).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When no master database is configured, automatically degrade to read-only mode.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Apr 10 2016, 3:50 PM
This revision was automatically updated to reflect the committed changes.