Commit Graph

68959 Commits

Author SHA1 Message Date
svcscm svcscm
e890758a9d Updating submodules
Summary:
GitHub commits:

0c8a798f58
e25425bb29
8ee8e2099e
01e90bb5cf
f90b7db078
a0b5279f5e
c27243837f
720718989a
971955a738
3574477e87
faf2569b8a
be966bbd22

Reviewed By: wittgenst

fbshipit-source-id: 11a945e1425d1e5308d5e6052b6f4b50542b2116
2021-10-26 18:44:14 -07:00
svcscm svcscm
cb863d8cc2 Updating submodules
Summary:
GitHub commits:

e2968fc9fa
82c9fd7f4f
d60ae604b3
cd49bf89ed
492933bc84
363601a57a
138908d157
1508bb2b8e
687d4cec79
9497605890

Reviewed By: wittgenst

fbshipit-source-id: b9191bd7b59f7794611d432b8baf4a9820aa4b08
2021-10-26 18:04:45 -07:00
Jun Wu
d9a4ed8f05 dag: check overlapped segments in integrity check
Summary: This is a nice to have check for correctness.

Reviewed By: DurhamG

Differential Revision: D31700272

fbshipit-source-id: 092a3fd463ae1a00e7c42645a1852054dadd8edf
2021-10-26 17:16:36 -07:00
Jun Wu
d689775d90 dag: use all_ids_in_groups to answer all() and master_group()
Summary: This makes `all()` and `master_group()` aware of discontinuous segments.

Reviewed By: DurhamG

Differential Revision: D31734837

fbshipit-source-id: fe5ebd4930ef2de4540f37954558ed499072534b
2021-10-26 17:08:59 -07:00
Jun Wu
969d92a3f3 dag: implement all_ids_in_groups for indexedlog iddag store
Summary:
Use the added `Fold` feature from indexedlog. It's now possible to implement
`all_ids_in_groups` by using a "fold" function that tracks the covered spans.

Reviewed By: DurhamG

Differential Revision: D31734835

fbshipit-source-id: c9f10a8730563cb6803856519f4d3a7aec6d9dca
2021-10-26 17:08:59 -07:00
Jun Wu
6fa963849b dag: make IdSet serializable
Summary:
Make `IdSet` and `Span` serializable. The `Id` type should really use
`#[serde(transparent)]` so it's just u64. However, adding
`#[serde(transparent)]` now on `Id` could be a breaking change.
So let's just ensure the `IdSet` use compact `Id` in serialization.

Reviewed By: DurhamG

Differential Revision: D31734840

fbshipit-source-id: e9f9ad7f3b1a5299cca2e8734c87bb5b03cf1f77
2021-10-26 17:08:59 -07:00
Jun Wu
53d1cf00f8 indexedlog: keep FoldState up to date
Summary:
Update FoldState on open, append so the fold state can be accessed.
This completes the Fold feature in indexedlog. See the added test for examples.

Reviewed By: DurhamG

Differential Revision: D31734836

fbshipit-source-id: 4683fdedd9ac07ff2a6a0b28a381b5ddbc3d17d8
2021-10-26 17:08:59 -07:00
Jun Wu
6ce87d06d1 indexedlog: add ways to load or save FoldState to disk
Summary: This will be used by Log to incrementally calculate a fold function.

Reviewed By: DurhamG

Differential Revision: D31734834

fbshipit-source-id: 064bfa64d2faf8581a0c21f357cd9688c5d9ac23
2021-10-26 17:08:59 -07:00
Jun Wu
6dd0c2ed02 indexedlog: add fold states to Log
Summary:
This allows us to cache the calculation of fold functions.

The on-disk and in-memory part are separate to handle various cases easier:
- Decide what to write to disk.
- Decide what to clone when `Log` is cloned.

Reviewed By: DurhamG

Differential Revision: D31734839

fbshipit-source-id: 45f8cffdf60bf2cb372f6d97ff9708a7a40ef134
2021-10-26 17:08:59 -07:00
Jun Wu
c579ad8ddc indexedlog: add "fold function" concept to Log
Summary:
Prevously, a `Log` has a few index functions. The indexes are useful for
indexing individual items. This diff defines a new concept: "fold function".
It will be useful for accumulated information, such as the total count of
a special kind of entries.

This diff just defines the concept. Implementation will be done later.

Practically, this feature will be used to track the "assigned" segments in
the `dag` crate.

This feature cannot be easily built outside indexedlog because indexedlog
does not provide a way to iterate entries from an arbitrary offset. indexedlog
does not leak the raw offsets either. That makes incremental fold hard
to implement outside indexedlog.

Reviewed By: DurhamG

Differential Revision: D31734838

fbshipit-source-id: d48dca0da1c753d23cee725dc22a809d529c55db
2021-10-26 17:08:59 -07:00
Jun Wu
5a26283c24 dag: implement all_ids_in_groups for in-process iddag store
Summary:
Update the `insert` API to take care of maintaining the `all_ids_in_groups`
state. Deserialization also goes through `insert` so that would work out of
box too.

Reviewed By: DurhamG

Differential Revision: D31734833

fbshipit-source-id: 53f37b951d7985436c4a90f80cc5f59155c7324d
2021-10-26 17:08:59 -07:00
Jun Wu
563a73b7e3 dag: add another fast path for IdSet::push
Summary:
Partially address a PERF comment. The path would be useful in upcoming changes.

`cargo bench --bench spanset` now shows:

  push_span (middle)                                  0.710 ms

Previously it was:

  push_span (middle)                                  5.750 ms

Note the difference will be larger if the IdSet contains more spans.
Practically, we are thinking about 10k spans scale.

Reviewed By: DurhamG

Differential Revision: D31708352

fbshipit-source-id: cccbbab80fb997a50d5cc2536b076ad604f9b8fe
2021-10-26 15:44:37 -07:00
Jun Wu
53340d92a7 dag: add a fast path for IdSet::push
Summary:
Partially address a PERF comment.  The path would be useful in upcoming changes.

`cargo bench --bench spanset` now shows:

  push_span (high)                                    0.284 ms

Previously it was:

  push_span (high)                                    5.557 ms

Reviewed By: DurhamG

Differential Revision: D31708351

fbshipit-source-id: b5c4238b82b711863779a6c9d24fa00d815f4ab2
2021-10-26 15:44:37 -07:00
Jun Wu
90b6925ee9 dag: add benchmark about IdSet::push
Summary:
The operation will be used in a tight loop. This would demonstrate performance
differences.

`cargo bench --bench spanset` shows:

  intersection                                       13.544 ms
  union                                               8.055 ms
  difference                                          6.438 ms
  push_span (low)                                     0.173 ms
  push_span (middle)                                  5.750 ms
  push_span (middle, large)                           5.883 ms
  push_span (high)                                    5.557 ms

Note that we only have fast path for "low".

Reviewed By: DurhamG

Differential Revision: D31708350

fbshipit-source-id: c9b9da04f28cd8b5b4d05833812ff8d4fd0b94a2
2021-10-26 15:44:37 -07:00
Jun Wu
66b82cdcca dag: add add_ids_in_groups API to IdDagStore
Summary:
Make the IdDagStore implementation track what spans of Ids are taken.

This diff just defines the interface without actual implementation.

Where to track this information might be a bit not obvious. Here are some
choices and considerations:
- Tracking the spans in a new structure: More complex, since we need to ensure
  IdMap, IdDag, and the new structure in sync. Requires non-trivial changes on
  Mononoke.
- Tracking the spans in IdMap: IdMap does not depend on IdDag. So it feels
  "natural". But it's non-trivial with IdMap when it's lazy, and it requires
  non-trivial changes on Mononoke.
- Tracking the spans in IdDag: Easier, since IdDag is not async. Minimal
  changes for Mononoke, since IdDag logic is fully shared. The only downside
  is that IdMap will depend on IdDag to provide the spans. It feels cyclic,
  but IdMap and IdDag are already somewhat tied together.

Reviewed By: DurhamG

Differential Revision: D31700271

fbshipit-source-id: a2461e0aafc15a03ffd82723b06ae4a77d95729b
2021-10-26 15:44:36 -07:00
Jun Wu
3e654f13be dag: add basic explanation about discontinuous segments
Summary:
The actual implementation will be scattered in multiple components. Add a
single file with some basic explanation.

Reviewed By: DurhamG

Differential Revision: D31700274

fbshipit-source-id: 639332c55c29b4b1be8685f60685c9f696b293e8
2021-10-26 15:44:36 -07:00
svcscm svcscm
98409be0e8 Updating submodules
Summary:
GitHub commits:

50edc5b112
9bfaf319e3
ef7612cb02
c38bb7bff3
c73a2d4fb3
dc00e4b120
ffb0f11374
a1fc34959a
aea45f158f
4db1d61e27
63f2927aef
f1ef70322b
29903542e4
596ab6f446

Reviewed By: wittgenst

fbshipit-source-id: 0b60a69ff3f5886bb4e119b458200f71a936959f
2021-10-26 15:29:26 -07:00
Xavier Deguillard
710f03501d service: no longer make edenfs a suid root binary
Summary:
In order to execute the edenfs_privhelper, EdenFS needs to be a suid root
binary, but due to the large amount of dependency, it's hard to fully control
what runs before main and thus what executes with root privileges.

To reduce the attack surface, let's only make the edenfs_privhelper a suid root
binary. In tests, we still start EdenFS with sudo, and thus the
edenfs_privhelper will have the proper privileges.

Reviewed By: chadaustin

Differential Revision: D31870880

fbshipit-source-id: 3f06d22ecd4f3bc65e3e955c5a1de811b1cf328f
2021-10-26 15:13:11 -07:00
Durham Goode
b0f3e299fc debug: add debugdiffdirs for watchman
Summary:
Adds a command which prints out which directories were modified between
two diffs. "modified" is defined as "has an immediate child that has been added
or removed". This means just modifying a file will not cause it's parent
directory to be marked changed.

This is used for watchman to report what directories have changed during an eden
checkout.

Reviewed By: quark-zju

Differential Revision: D31698688

fbshipit-source-id: ef90573af3027306501673821ee40b691241b6e4
2021-10-26 14:37:01 -07:00
Eric Garcia
b873ba64b2 Fix Rust warnings in fbcode/eden/scm/lib/taggederror/src/lib.rs
Summary:
Fix warnings in fbcode/eden/scm/lib/taggederror/src/lib.rs

$ buck build eden/scm/lib/taggederror:taggederror#check

```
warning: trailing semicolon in macro used in expression position
   --> eden/scm/lib/taggederror/src/lib.rs:564:63
    |
437 |         bail!(IntentionalError(String::from("intentional_error")))
    |         ---------------------------------------------------------- in this macro invocation
...
564 |         return std::result::Result::Err(anyhow::anyhow!($err));
    |                                                               ^
    |
    = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
    = note: macro invocations at the end of a block are treated as expressions
    = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail`
    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position
   --> eden/scm/lib/taggederror/src/lib.rs:497:95
    |
442 | /     bail!(
443 | |         Category::Programming,
444 | |         fault = Fault::Request,
445 | |         TypeName("taggederror::FakeTypeNameForTesting"),
446 | |         "intentional bail with {}",
447 | |         "format params"
448 | |     )
    | |_____- in this macro invocation
...
497 |            return std::result::Result::Err(anyhow::anyhow!($fmt, $($arg)*).with_metadata($meta));
    |                                                                                                 ^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
    = note: macro invocations at the end of a block are treated as expressions
    = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail`
    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: 2 warnings emitted

Downloaded 0/2 artifacts, 0.00 bytes, 100.0% cache miss (for updated rules)
Building: finished in 1.9 sec (100%) 20/20 jobs, 1/20 updated
  Total time: 1.9 sec
More details at https://www.internalfb.com/intern/buck/build/92838d99-36e7-4c74-baea-9eb02b113cdc
BUILD SUCCEEDED
```

https://pxl.cl/1RVSM

Reviewed By: dtolnay

Differential Revision: D31933979

fbshipit-source-id: e43df45060d67acd714e6594e2682322e5f32515
2021-10-26 13:40:18 -07:00
Xavier Deguillard
5d67dcfa77 inodes: use ImmediateFuture in createDirInode
Summary: This simply moves the conversion to folly::Future one level up.

Reviewed By: genevievehelsel

Differential Revision: D31746628

fbshipit-source-id: b64c17eefe949623f6b532d8d86aa703b65c99ad
2021-10-26 13:31:22 -07:00
Xavier Deguillard
65340fca34 prjfs: use ImmediateFuture in PrjfsDispatcher::read
Summary: This simply move the conversion to folly::Future to the caller.

Reviewed By: genevievehelsel

Differential Revision: D31746627

fbshipit-source-id: 944686bb5995d337e6cf66c13a3cd630ace74a6b
2021-10-26 13:31:22 -07:00
Xavier Deguillard
595de0b045 prjfs: use ImmediateFuture in PrjfsDispatcher::access
Summary: This moves the conversion to folly::Future up to the caller.

Reviewed By: genevievehelsel

Differential Revision: D31746630

fbshipit-source-id: 522169af5f7b978b88ebc8596558bd5c9b3c2482
2021-10-26 13:31:22 -07:00
Xavier Deguillard
1cd4b45988 prjfs: use ImmediateFuture in PrjfsDispatcher::lookup
Summary: This moves the conversion to folly::Future one caller up.

Reviewed By: genevievehelsel

Differential Revision: D31746633

fbshipit-source-id: 1af5f4f36c33da9248138ada112e277db239b0b1
2021-10-26 13:31:22 -07:00
Xavier Deguillard
7926c78808 prjfs: switch PrjfsDispatcher::opendir to ImmediateFuture
Summary:
This merely moves the conversion from ImmediateFuture to Future in the
PrjfsChannel code.

Reviewed By: genevievehelsel

Differential Revision: D31746634

fbshipit-source-id: 9978c834e20f17c456322a32deaaa4c13e0cb270
2021-10-26 12:06:02 -07:00
Xavier Deguillard
a75fd9a013 prjfs: kill timeout notification
Summary:
The timeout based notification mechanism appears to be at the root of a lot of
EdenFS crashes. It also doesn't detect all of the network failures and is being
replaced with a more robust mechanism which will handle these cases.

For now, let's just get rid of the timeout based mechanism.

Reviewed By: fanzeyi

Differential Revision: D31739683

fbshipit-source-id: d6baa03fe3579dc36c9f435bd16df39799e51ef9
2021-10-26 12:06:02 -07:00
Xavier Deguillard
55ec6e8f36 inodes: use ImmediateFuture in EdenMount::setupDotEden
Summary: This removes a bunch of conversion to a Future.

Reviewed By: genevievehelsel

Differential Revision: D31703355

fbshipit-source-id: 229b5fd55551a6d0b1346b8452fd1e57cb40e940
2021-10-26 12:06:02 -07:00
Xavier Deguillard
9c7dff6260 inodes: use ImmediateFuture in EdenMount::ensureDirectoryExists
Summary: This merely pushes the conversion to a Future to the caller.

Reviewed By: genevievehelsel

Differential Revision: D31703354

fbshipit-source-id: 16446b4a03f18168af97134f08d374526c81adcd
2021-10-26 12:06:02 -07:00
Mark Juggurnauth-Thomas
b9af043459 derived_data: log batch derivations to scuba
Summary:
Add scuba logging for batch derivations.

In the request context scuba log, we log the batch start and end.

In the derived data scuba log, we log the full set of changeset ids for
the batch, however we do not log the serialized form of the mapped changeset
(this can be added, but it's likely to slow things down).

Reviewed By: StanislavGlebik

Differential Revision: D31902279

fbshipit-source-id: fda2bd608159a3d5e4c732a1cf76a02c0f7932cb
2021-10-26 10:18:00 -07:00
Robert Grosse
8950d7207e Wrap newfilenodes semaphore in task::spawn
Summary: Per T102183795, we need to wrap all semaphores in task::spawn in order to reduce the risk of deadlocks.

Reviewed By: StanislavGlebik

Differential Revision: D31669763

fbshipit-source-id: 6c742d3794bc10bf80ef8e35a71ed465a7de637a
2021-10-26 09:33:27 -07:00
svcscm svcscm
285103dd41 Updating submodules
Summary:
GitHub commits:

8623cad451
30675bbc88
e0e299626e
b2e802d4cc
4438a294df
781492738a
cd7f4e565a
692d35917e
dd7ad1c4e1
aa865f2acd

Reviewed By: wittgenst

fbshipit-source-id: 96d4deab6d1bdedc9d0bba825a237a7312dcb4d5
2021-10-26 09:15:44 -07:00
Egor Tkachenko
87bff8f021 Add the trait to derive remotely with minimal dependency
Reviewed By: StanislavGlebik

Differential Revision: D31898316

fbshipit-source-id: bf6a3f86d3ba74a5d31a2c02d60968d605c51b75
2021-10-26 08:56:49 -07:00
Xavier Deguillard
dacb8d897b inodes: use ImmediateFuture in FileInode::isSameAs
Summary: This allows pushing the transformation to a Future to the caller.

Reviewed By: chadaustin

Differential Revision: D31703356

fbshipit-source-id: 7e39b5d5862a7c8a2de646de515c5846a81c458a
2021-10-26 08:44:41 -07:00
Xavier Deguillard
7ac0a49cd1 inodes: make xattr method use ImmediateFuture
Summary:
This simply bubbles up the ImmediateFuture to the caller, who already wanted an
ImmediateFuture, saving on conversion.

Reviewed By: kmancini

Differential Revision: D31703353

fbshipit-source-id: 698b3fe0e10a3fce919abd744a4ca3a4f2ff3878
2021-10-26 08:44:41 -07:00
Xavier Deguillard
6b20656f08 inodes: use collectAllSafe in the diff code
Summary: This allows to remove some conversion from ImmediateFuture to folly::Future.

Reviewed By: chadaustin

Differential Revision: D31674457

fbshipit-source-id: 3e044776a3e9eb467131e309353f24774a13e549
2021-10-26 08:44:41 -07:00
svcscm svcscm
4849acc629 Updating submodules
Summary:
GitHub commits:

88afc7418c

Reviewed By: wittgenst

fbshipit-source-id: ac696bb68549bcb8d750359e6518e3eb92db3661
2021-10-26 08:23:38 -07:00
svcscm svcscm
436d629ac4 Updating submodules
Summary:
GitHub commits:

2a497816d0
7ac0f0f404
44d2d4abcb
7c98bbc9fc

Reviewed By: wittgenst

fbshipit-source-id: 002ab02573d708420f982446bc7570457a6f1122
2021-10-26 03:47:27 -07:00
Mark Juggurnauth-Thomas
7ed258721b derived_data: improve error contexts
Summary:
Add error contexts for derivation of batches in the derived data manager, and
for individual stacks within batches for blame_v2.

Reviewed By: StanislavGlebik

Differential Revision: D31898498

fbshipit-source-id: 0fec9672bfe55680a234624333ba7082de59bc69
2021-10-26 02:37:09 -07:00
Mark Juggurnauth-Thomas
8ffd602b6a blame_v2: split batches on copy_info
Summary:
When splitting batches into linear stacks for parallel blame derivation, we
must also split on the existence of `copy_info`.

Blame derivation follows copy information, so if a commit in a batch modifies a
file, then a subsequent commit in the batch that copies from that file must be
placed in a separate stack so that it can access the blame data for the
copied-from file.

In theory it would be sufficient to check that copied-from sources aren't
modified by the previous commits in the stack, but this check isn't available
right now, so we fall back to just splitting on any copy info.  We can add more
detailed splitting later if we need to improve performance further.

Reviewed By: StanislavGlebik

Differential Revision: D31898499

fbshipit-source-id: 85edb197231095de5ac17e07d5fab919277614ed
2021-10-26 02:37:09 -07:00
svcscm svcscm
35d6d1d9ea Updating submodules
Summary:
GitHub commits:

529724ec8d
4bae5eb004
4e2ae2047c
3cf59ab303
40edd4dae9

Reviewed By: wittgenst

fbshipit-source-id: 3a312ddfe6c873e661c38cd47764ff221e2a5445
2021-10-26 02:20:06 -07:00
svcscm svcscm
1852266413 Updating submodules
Summary:
GitHub commits:

6d22c8b781
7c1d115990
ae2ff48e81
4c1eef82ff
ac70338edf

Reviewed By: wittgenst

fbshipit-source-id: 2cdf4df45c11732201824224fb9eb6af48972309
2021-10-25 23:26:57 -07:00
svcscm svcscm
9c86996b22 Updating submodules
Summary:
GitHub commits:

d71daaa460
11fd84b09f
95f0157932
2a28fd3a09
ae67617e6c
f4d1e7baf7
9a9fa88024
63104d7ec3

Reviewed By: wittgenst

fbshipit-source-id: 227253ce9a888a647ce7f65ea09eea317a644fe1
2021-10-25 22:17:10 -07:00
Andrey Chursin
7e2bffe4ac Remove ObjectId(hex) constructor [proxy hash removal 6/n]
Summary: As discussed in previous diff, this removes constructor from hex string and adds ObjectId(fbstring) constructor

Reviewed By: chadaustin

Differential Revision: D31841234

fbshipit-source-id: c36ae315ad3a6eaecfd47889588c2bd18928aafb
2021-10-25 20:06:30 -07:00
svcscm svcscm
91d174b181 Updating submodules
Summary:
GitHub commits:

76c70701bd
3b2f6c1ed5
aa6d606201
72245d3b31
0a686a5275
fa7e16de17
ded60ae3e0
1c4c4dc268
b0e3e91088

Reviewed By: wittgenst

fbshipit-source-id: 2da1eee71493133cf692e18a3180cc5ff8b9bbdf
2021-10-25 19:56:15 -07:00
svcscm svcscm
b008d5a29a Updating submodules
Summary:
GitHub commits:

43aef1c687
3c7e9229fb
2af96503fe
0ce7651f13
578474be47
eadc7bd18b
ec0b93d8f4
a0aefa9826
9143ec2f6d
e9e58119db
11955b92c1

Reviewed By: wittgenst

fbshipit-source-id: 8e1c2047b2aa46e19ded9878b2a9f180fd337667
2021-10-25 19:25:06 -07:00
svcscm svcscm
ed7505cc14 Updating submodules
Summary:
GitHub commits:

aab5d18f5b
bb38491ed7
8dc141767d
b28c0ba2f3
898e3666ec
b3d1f01e6a
f9f0d33a79
803f47c84f
67cc8714b3
5fd4babfef
e82fff72ed
e1d4c861c2
ee2074c06c

Reviewed By: wittgenst

fbshipit-source-id: d589d85e69ac8342be8f9e283e02f70c46fa041c
2021-10-25 18:44:07 -07:00
Xavier Deguillard
b7108967f4 immediatefuture: add a collectAllSafe
Summary:
This mimics the one eden/fs/utils/Future.h behavior where all the Try are
unwrapped to simply return a tuple.

Reviewed By: kmancini

Differential Revision: D31668773

fbshipit-source-id: f4b9b6b2564cc1e2c43aa5b03bfb06048f0a39c1
2021-10-25 14:32:06 -07:00
Xavier Deguillard
72e7764a1c immediatefuture: add collectAll that takes a parameter pack
Summary:
In some places, EdenFS uses folly::collectAll passing futures to it. In order
to replace it, we need an equivalent for ImmediateFuture.

The implementation relies on the fact that ImmediateFuture's constructor will
extract the value from a SemiFuture if it is ready, and thus the code doesn't
have to special case when all the passed in ImmediateFuture are immediate
values.

Reviewed By: chadaustin

Differential Revision: D31667897

fbshipit-source-id: ea680e1c74528d1eb34210cacb58efda8a26fee0
2021-10-25 14:32:06 -07:00
svcscm svcscm
0379850fb4 Updating submodules
Summary:
GitHub commits:

2c80a17441
59e15e8f14
2c3913baaa
05d325a892
fb274d273e

Reviewed By: wittgenst

fbshipit-source-id: 379494bda7774c3d1246f03b55b1a5cc4c3d03db
2021-10-25 14:19:07 -07:00
Alex Hornby
7301be38b0 mononoke: partially revert connection caching
Summary: Hg mutation store is not in same mysql dbs as the rest of the metadata,  revert connection caching for this for now.

Reviewed By: HarveyHunt

Differential Revision: D31898550

fbshipit-source-id: 2f1a237cc64f02f631d054208d0f1ddb62b41ac5
2021-10-25 12:26:52 -07:00