Page MenuHomePhabricator

Remove "mysql.configuration-provider" configuration option
ClosedPublic

Authored by epriestley on Nov 22 2016, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 5:44 PM
Unknown Object (File)
Mon, Apr 8, 4:51 PM
Unknown Object (File)
Mon, Apr 8, 4:29 PM
Unknown Object (File)
Mon, Apr 8, 3:06 PM
Unknown Object (File)
Mon, Apr 8, 9:29 AM
Unknown Object (File)
Mon, Apr 8, 9:29 AM
Unknown Object (File)
Mon, Apr 8, 5:29 AM
Unknown Object (File)
Wed, Apr 3, 8:26 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.