Page MenuHomePhabricator

Support application partitioning across multiple masters
ClosedPublic

Authored by epriestley on Nov 16 2016, 1:17 AM.
Tags
None
Referenced Files
F12837482: D16876.diff
Thu, Mar 28, 5:05 PM
F12815520: D16876.id40689.diff
Thu, Mar 28, 2:58 AM
Unknown Object (File)
Fri, Mar 1, 1:59 AM
Unknown Object (File)
Feb 21 2024, 10:22 AM
Unknown Object (File)
Feb 21 2024, 8:53 AM
Unknown Object (File)
Feb 21 2024, 6:34 AM
Unknown Object (File)
Feb 16 2024, 9:40 AM
Unknown Object (File)
Feb 16 2024, 9:35 AM
Subscribers
None
Tokens
"Party Time" token, awarded by thoughtpolice."Grey Medal" token, awarded by yelirekim.

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.