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)
Tue, Mar 26, 10:20 AM
Unknown Object (File)
Sat, Mar 2, 11:52 PM
Unknown Object (File)
Sat, Mar 2, 11:52 PM
Unknown Object (File)
Sat, Mar 2, 11:52 PM
Unknown Object (File)
Feb 23 2024, 8:15 PM
Unknown Object (File)
Feb 23 2024, 7:14 AM
Unknown Object (File)
Feb 9 2024, 3:08 PM
Unknown Object (File)
Feb 2 2024, 10:54 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.