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
Unknown Object (File)
Fri, Aug 5, 11:22 PM
Unknown Object (File)
Wed, Aug 3, 6:48 PM
Unknown Object (File)
Jul 14 2022, 8:36 PM
Unknown Object (File)
Jul 10 2022, 3:09 PM
Unknown Object (File)
Jun 14 2022, 2:35 AM
Unknown Object (File)
May 28 2022, 10:23 AM
Unknown Object (File)
May 23 2022, 6:09 PM
Unknown Object (File)
Apr 11 2017, 9:00 AM
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.