Page MenuHomePhabricator

Support application partitioning across multiple masters
ClosedPublic

Authored by epriestley on Nov 16 2016, 1:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 10:41 AM
Unknown Object (File)
Wed, Dec 11, 9:22 AM
Unknown Object (File)
Sun, Dec 8, 3:10 AM
Unknown Object (File)
Sat, Dec 7, 12:38 PM
Unknown Object (File)
Wed, Nov 20, 10:07 PM
Unknown Object (File)
Nov 18 2024, 9:47 PM
Unknown Object (File)
Nov 12 2024, 9:40 PM
Unknown Object (File)
Nov 4 2024, 4: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.