Page MenuHomePhabricator

Remove "mysql.configuration-provider" configuration option
ClosedPublic

Authored by epriestley on Nov 22 2016, 12:36 PM.
Tags
None
Referenced Files
F14347738: D16911.id40718.diff
Thu, Dec 19, 3:06 AM
F14347737: D16911.id40713.diff
Thu, Dec 19, 3:06 AM
F14347736: D16911.id.diff
Thu, Dec 19, 3:06 AM
F14347735: D16911.diff
Thu, Dec 19, 3:06 AM
Unknown Object (File)
Sat, Dec 7, 2:39 PM
Unknown Object (File)
Tue, Dec 3, 6:48 AM
Unknown Object (File)
Wed, Nov 20, 10:32 PM
Unknown Object (File)
Tue, Nov 19, 8:23 PM
Subscribers
None

Details

Summary

Ref T11044. This was old Facebook cruft for reading configuration from SMC (and maybe doing some other questionable things). See D183.

(See also D175 for discussion of this from 2011.)

In modern Phabricator, you can subclass SiteConfig to provide dynamic configuration, and we do so in the Phacility cluster. This lets you change any config, and change in response to requests (e.g., for instancing) and is generally more powerful than this mechanism was.

This configuration provider theoretically let you roll your own replication or partitioning, but in practice I believe no one ever did, and no one ever could have anyway without more support in the upstream (for migrations, read-after-write, etc).

Test Plan
  • Grepped for removed option.
  • Browsed around with clustering off.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Remove "mysql.configuration-provider" configuration option.
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.Nov 22 2016, 4:53 PM
This revision was automatically updated to reflect the committed changes.