sapling/cmds/blobstore_healer
Lukas Piatkowski a7d5f76635 mononoke: using raw connection to xdb when myrouter_port is not provided
Summary:
In the case of mononoke's admin tool it's annoying for users to be required to run myrouter in the background and provide myrouter port to every command.
Thanks to this change it is no longer necessary to run admin commands through myrouter - the tool will simply use a direct connection to XDB using the sql crate.

It is important to note that the raw XDB connection via sql crate doesn't have connection pooling and doesn't handle XDB failover so it is crucial that it is never used for long-lived or request heavy use cases like running mononoke server or blobimport

Reviewed By: jsgf

Differential Revision: D15174538

fbshipit-source-id: 299d3d7941ae6aec31961149f926c2a4965ed970
2019-05-21 12:25:35 -07:00
..
dummy.rs wait for myrouter port to be ready 2019-03-20 05:15:35 -07:00
healer.rs mononoke: small idiom tweaks to blobstore healer 2019-05-21 12:24:51 -07:00
main.rs mononoke: using raw connection to xdb when myrouter_port is not provided 2019-05-21 12:25:35 -07:00
rate_limiter.rs wait for myrouter port to be ready 2019-03-20 05:15:35 -07:00