sapling/eden/mononoke/common
Aida Getoeva 49a5eff46f mononoke/sql: fix connection to the sharded db
Summary:
Apparently shards for some DBs start from 1 (production_filenodes) and for some - from 0 (production_blobstore).
This diff fixed the issue for mysql connections.

Long term we might want to query SMC for the list of shards instead of hardcoding different values in the different places.

Reviewed By: farnz

Differential Revision: D25057136

fbshipit-source-id: 9201a2ec8afe0b66a246a2ee91cc9389630f5ddf
2020-11-19 13:16:01 -08:00
..
allocation_tracing mononoke: reverse autocargo include list to excludes 2020-05-06 08:43:18 -07:00
async_limiter Regenerate all Cargo.tomls after upgrade to futures 0.3.5 2020-07-06 20:49:43 -07:00
bounded_traversal add variant of bounded_traversal_stream which accepts children in the form of a stream 2020-10-07 03:38:28 -07:00
dedupmap rust: update rust to 1.47.0 2020-10-15 17:28:02 -07:00
iterhelpers common: add iterhelpers 2020-10-04 23:51:03 -07:00
rust mononoke/sql: fix connection to the sharded db 2020-11-19 13:16:01 -08:00
scribe_ext mononoke: add Scribe 2020-06-29 12:15:22 -07:00
scuba_ext scuba: don't require static keys in log_with_msg 2020-11-11 12:40:13 -08:00
sql_construct mononoke/mysql: share single connection pool in the same SMC between shards 2020-11-05 05:34:22 -08:00
topo_sort Prepare for rustfmt 2.0 2020-09-08 07:33:16 -07:00
type_map make it possible to store arbitrary type in blobrepo with dependency on it 2020-06-22 07:29:19 -07:00
uniqueheap mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00