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)
Thu, Dec 19, 10:24 AM
Unknown Object (File)
Thu, Dec 19, 7:09 AM
Unknown Object (File)
Thu, Dec 19, 3:06 AM
Unknown Object (File)
Thu, Dec 19, 3:06 AM
Unknown Object (File)
Thu, Dec 19, 3:06 AM
Unknown Object (File)
Thu, Dec 19, 3:06 AM
Unknown Object (File)
Sat, Dec 7, 2:39 PM
Unknown Object (File)
Tue, Dec 3, 6:48 AM
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
Branch
partition7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14607
Build 19068: Run Core Tests
Build 19067: arc lint + arc unit

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.