Page MenuHomePhabricator

Support application partitioning across multiple masters
ClosedPublic

Authored by epriestley on Nov 16 2016, 1:17 AM.

Details

Summary

Ref T11044. I'm going to hold this until after the release cut, but I think it's good to go.

This allows installs to configure multiple masters in cluster.databases and partition applications across them (for example, put Maniphest on a dedicated database).

When we make a Maniphest connection we go look up which master we should be hitting first, then connect to it.

This has at least approximately been planned for many years, so the actual change is largely just making sure that your config makes sense.

Test Plan
  • Configured db001.epriestley.com and db002.epriestley.com as master/master.
  • Partitioned applications between them.
  • Interacted with various applications, saw writes go to the correct host.
  • Viewed "Database Servers" and saw partitioning information.
  • Ran schema upgrades.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Support application partitioning across multiple masters.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
  • Actually test this somewhat, tweak a few things, wordsmith the documentation.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 18 2016, 6:43 PM
This revision was automatically updated to reflect the committed changes.