Page MenuHomePhabricator

Update SchemaQuery and the web UI to accommodate multiple master databases
ClosedPublic

Authored by epriestley on Nov 12 2016, 5:27 PM.
Tags
None
Referenced Files
F13095147: D16847.diff
Thu, Apr 25, 7:47 AM
Unknown Object (File)
Fri, Apr 19, 5:39 PM
Unknown Object (File)
Wed, Apr 17, 4:36 PM
Unknown Object (File)
Wed, Apr 17, 4:35 PM
Unknown Object (File)
Wed, Apr 17, 4:35 PM
Unknown Object (File)
Mon, Apr 15, 12:31 PM
Unknown Object (File)
Thu, Apr 11, 9:10 AM
Unknown Object (File)
Sat, Apr 6, 10:18 PM
Subscribers
None

Details

Summary

Depends on D16115. Ref T11044. In the brave new world of multiple masters, we need to check the schemata on each master when looking for missing storage patches, keys, schema changes, etc.

This realigns all the "check out what's up with that schema" calls to work for multiple hosts, and updates the web UI to include a "Server" column and allow you to browse per-server.

This doesn't update bin/storage, so it breaks things on its own (and unit tests probably won't pass). I'll update that in the next change.

Test Plan

Configured local environment in cluster mode with multiple masters, saw both hosts' status reported in web UI.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable