Commit Graph

67260 Commits

Author SHA1 Message Date
Matt Smith
637bd00002 Add nested-values feature to slog
Summary:
The diff is giant, but it's just a one-line change to add the
nested-values feature to slog, we just have a whole bunch of projects dependent
on slog.

Reviewed By: dtolnay

Differential Revision: D30351289

fbshipit-source-id: b6c1c896b06cbdf23b1f92c0aac9a97aa116085d
2021-08-17 15:28:16 -07:00
svcscm svcscm
cff76627ea Updating submodules
Summary:
GitHub commits:

9dd683cdb9
58af1159ba
e1b2952b73
5ad8a3fb54
e6a44e3085
30a42d2262

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 299ccac8d6b3fa96cc40579b856319bc58129a2f
2021-08-17 15:19:56 -07:00
svcscm svcscm
0920fb43a8 Updating submodules
Summary:
GitHub commits:

f399ab937b
ff527501a4
a3eaac65d6
040d31cbf3
c3c7b1d20a

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 484be0fb3482917083e9c6bc2cba856d962fcba3
2021-08-17 14:54:52 -07:00
svcscm svcscm
275e168dc4 Updating submodules
Summary:
GitHub commits:

a5bdb739ff
d11ad8f1a9
aba2292268
1f5ead1e18
f41edf0a86

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 34b9b3854488dea4fce0ecc09ea42831a5a58977
2021-08-17 14:00:22 -07:00
svcscm svcscm
80e9cd3b25 Updating submodules
Summary:
GitHub commits:

8cefc8c095

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 45729db851f20b69bbc180aaee337312826e870d
2021-08-17 12:32:57 -07:00
svcscm svcscm
e51c428ed4 Updating submodules
Summary:
GitHub commits:

d11ad8f1a9
995e2fdd92
1ba165f478
4e9759c1fb

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: ab7e551292a32ed42842dabac7f6cc4775a9c86c
2021-08-17 12:21:17 -07:00
svcscm svcscm
12d62f459f Updating submodules
Summary:
GitHub commits:

8ce3d92b14
e5490838e5

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: d7846f6ac9fde6597f5500bfe0bb55e4540f5ae9
2021-08-17 11:59:14 -07:00
svcscm svcscm
599206aac2 Updating submodules
Summary:
GitHub commits:

995e2fdd92
1ba165f478
4e9759c1fb

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: aec5e150ed1fc4c522e11b9294910d06f4ad7cd5
2021-08-17 11:46:44 -07:00
Chad Austin
8e0d52f163 thriftformat
Summary: Apply automated reformatting to our Thrift files.

Reviewed By: zertosh

Differential Revision: D30372146

fbshipit-source-id: a2fe363a6a17026078d11540b5e9359d097fb56c
2021-08-17 11:30:55 -07:00
David Tolnay
1ae4fb3039 Update to new configerator client
Summary: `//common/rust/shed/cached_config` is the center of a dependency graph that all only uses old configerator because cached_config uses it. This diff switches all of these over to the new client.

Reviewed By: farnz

Differential Revision: D30357631

fbshipit-source-id: 9a9df74096aa38a06371c6bc787245af71175e48
2021-08-17 11:02:08 -07:00
Yan Soares Couto
1d639f5a93 derived_data: introduce DerivedDataManager
Summary:
The `DerivedDataManager` will manage the ordering of derivation for derived
data, taking into account dependencies between types as well as the topological
ordering of the repository.  It will replace the free functions in
`derived_data` as well as much of the `utils` crate.

This is the first step: it introduces the manager, although currently it only takes
over management of the derived data lease.

Reviewed By: mitrandir77

Differential Revision: D30281634

fbshipit-source-id: 04c3a34d97ea02cc8c26d34096cca341e800da9b
2021-08-17 10:30:07 -07:00
Yan Soares Couto
be8daaa23c derived_data: make mapping not depend on BlobRepo
Summary:
In preparation for the derived data manager, ensure that derived data
mappings do not require a `BlobRepo` reference.

The main use for this was to log to scuba.  This functionality is extracted out
to the new `BonsaiDerivedMappingContainer`, which now contains just enough
information to be able to log to scuba.

Reviewed By: mitrandir77

Differential Revision: D30135447

fbshipit-source-id: 1daa468a87f297adc531cb214dda3fa7fe9b15da
2021-08-17 10:30:07 -07:00
svcscm svcscm
52194ea993 Updating submodules
Summary:
GitHub commits:

144b126503
dcfc8c72a4
84597fc261
8ce3d92b14

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 5256c2cd82ecc401a0d56ed3270bba4dd4a0efbd
2021-08-17 08:51:22 -07:00
svcscm svcscm
56b213fab1 Updating submodules
Summary:
GitHub commits:

8cefc8c095

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: e23265663391657901d84a45d0dec3c0bdcf137f
2021-08-17 08:24:46 -07:00
Stanislau Hlebik
dc8bf342da mononoke: set mutable renames while creating move commits
Reviewed By: mitrandir77

Differential Revision: D30338443

fbshipit-source-id: de5e39aad224c29cfe0bbdce011624037811aa36
2021-08-17 08:01:28 -07:00
Stanislau Hlebik
995a0a1bd5 mononoke: introduce DirectoryMultiMover
Summary:
We have mover only for files, and it doesn't quite work for directories - at
the very least directory can be None (i.e. root of the repo).

In the next diffs we'll start recording files and directories renames during
megarepo operations, so let's DirectoryMultiMover as a preparation for that.

Reviewed By: mitrandir77

Differential Revision: D30338444

fbshipit-source-id: 4fed5f50397a7d3d8b77f23552921d515a684604
2021-08-17 08:01:28 -07:00
svcscm svcscm
2060780777 Updating submodules
Summary:
GitHub commits:

a467c37e02

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 16b157bee0427b6b6e000c1b3e104e374a98cc6a
2021-08-17 07:26:53 -07:00
Simon Farnsworth
bd66f8a79b Add megarepo API to create a release branch point
Summary:
AOSP megarepo wants to create release branches from existing branches, and then update configs to follow only release-ready code.

Provide the primitive they need to do this, which takes an existing commit and config, and creates a new config that tracks the same sources. The `change_target_config` method can then be used to shift from mainline to release branch

Reviewed By: StanislavGlebik

Differential Revision: D30280537

fbshipit-source-id: 43dac24451cf66daa1cd825ada8f685957cc33c1
2021-08-17 06:56:29 -07:00
Egor Tkachenko
51367815cd Moving thrift targets
Summary:
I was adding thrift fiddle support to my derivation service like this https://www.internalfb.com/intern/wiki/Rust-at-facebook/Thrift/Writing_a_Rust_Thrift_Server/#thrift-fiddle and run into errors with generated thrift code P439166788. After searching a little bit I came across the post in Thrift Users group with this comment https://fb.workplace.com/groups/thriftusers/posts/497757970933620/?comment_id=498850394157711
So in this diff I'm moving all `thrift_library` targets into the directory together with .thrift file itself.

Reviewed By: ahornby

Differential Revision: D30300919

fbshipit-source-id: bb2d7e2a98d6ba783e6249963b3a1dfcd6d62669
2021-08-17 06:49:44 -07:00
svcscm svcscm
c92b62072f Updating submodules
Summary:
GitHub commits:

46b390ee8f
e98706a6bf
0841ce0c41
90a58cc448

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: badf432640135652972df4f115cb2062782ca09f
2021-08-17 05:57:06 -07:00
svcscm svcscm
05bbd1066b Updating submodules
Summary:
GitHub commits:

9d1f29ff4b
56270181ab

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c2469023a641421b0b5388204a1f8c7053e9a023
2021-08-17 05:20:08 -07:00
svcscm svcscm
fe82920f8b Updating submodules
Summary:
GitHub commits:

39864cdf5c
38f0cf5e57
3edd227f79
d71e042cad

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 935aa23986cc4c523b2d1368d8629b4d785f5cb2
2021-08-17 04:12:12 -07:00
svcscm svcscm
7b54995c54 Updating submodules
Summary:
GitHub commits:

c0c7d0dd79
7e70459f0c
4ed27b3339
7900a571d4
433638b911
103e07a2cc

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 2e136abaad45c0fdec3c103064f97b0668022973
2021-08-17 03:44:31 -07:00
svcscm svcscm
897e1367cc Updating submodules
Summary:
GitHub commits:

83c08eae64
57beeb3dbd
9cc2911925
d8696067b1
9594f141d3
2076e53335
c5a9bca500
79a5ec640d
359ed2d83c

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: f8e6ee943b751edc60860d456f64eb271cd6a94a
2021-08-17 03:07:37 -07:00
svcscm svcscm
46e0796c77 Updating submodules
Summary:
GitHub commits:

941570ea74
fa2cd1e08f

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 697b6c3c44fcc5a46581be27b4469ede2c33c8c0
2021-08-17 02:25:01 -07:00
svcscm svcscm
e17c376d06 Updating submodules
Summary:
GitHub commits:

2fe46ce815
5bf9f44c87
494f17845a
f46e30e509

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: f1c3309609e2998ef3a1bd4225bdd2b0d9114920
2021-08-17 01:53:12 -07:00
Stanislau Hlebik
06b34ca66e mononoke: use mutable_renames in fastlog
Summary:
Let's make it possible to query mutable renames from fastlog. For now this is a
very basic support i.e. we don't support middle-of-history renames, blame is
not supported etc.

Mutable rename logic is gated by a tunable, so we can roll it back quickly in
case of problems.

Reviewed By: ahornby

Differential Revision: D30279932

fbshipit-source-id: 0e8e329e8ab4d4980ab401bd103e6c97419d0f67
2021-08-17 01:18:59 -07:00
Stanislau Hlebik
56519f10aa mononoke: add mutable renames to repo factories
Summary:
Let's make it possible to build mutable renames using repo factories. It will
be used in the next diffs.

Differential Revision: D30279930

fbshipit-source-id: 57e873c69495e541daf943a47e6cb46fc19b221b
2021-08-17 01:18:58 -07:00
svcscm svcscm
1a808183d4 Updating submodules
Summary:
GitHub commits:

4c37de39d0

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c9d048a16306f5028655a12666e0737d65af649c
2021-08-17 00:59:09 -07:00
svcscm svcscm
a8cd56e098 Updating submodules
Summary:
GitHub commits:

a6297fa597
fd671c9e3d
e9ea476b6b
e31490fc50

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 6ee72fe3b3c8ebe8997731c6587c7612b1322452
2021-08-17 00:25:57 -07:00
svcscm svcscm
15ef91dfc4 Updating submodules
Summary:
GitHub commits:

14580a7c6a

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 135caf73277d4947ab148e2d848daedf2e7b662d
2021-08-16 23:40:20 -07:00
svcscm svcscm
38d770e07c Updating submodules
Summary:
GitHub commits:

9c6251557e
a2b5162c92
8e006e32da
7eaf616ac9

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: a67dc07fe1fb9d1dce0e4edf56f7824538f02aa8
2021-08-16 22:11:16 -07:00
svcscm svcscm
fd4ce7f585 Updating submodules
Summary:
GitHub commits:

2a7f6c1187
add68bd28a
e5490838e5

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 85828f2d8200e420eea920fe446859a90c16af23
2021-08-16 21:34:50 -07:00
svcscm svcscm
34b5f6e888 Updating submodules
Summary:
GitHub commits:

c112b68e10
c536c875f3
b08e01eea0
864b8c06c1
a483893af9

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 16e4aff56c424e244ba4e1d1305904cde4f3bb27
2021-08-16 19:10:19 -07:00
Xavier Deguillard
e811336d4d rage: print some Thrift counters
Summary:
When a user reports a slow EdenFS and a high network traffic is suspected, the
lack of Thrift stats makes it hard to fully validate this. Thus, let's collect
some stats and put them in the rage.

The collected stats are the exact same ones that `eden top` uses.

Reviewed By: chadaustin

Differential Revision: D30355746

fbshipit-source-id: 519a8e2c8b0c458daecdcc0813a8d7416d5362d6
2021-08-16 18:58:39 -07:00
svcscm svcscm
f7ba93a9a5 Updating submodules
Summary:
GitHub commits:

d45ff7a690

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: e72477b97ef4bb96893261c5b00e7066fa64b9a0
2021-08-16 18:24:12 -07:00
svcscm svcscm
d169544439 Updating submodules
Summary:
GitHub commits:

aacdccf51b
2a42c71aeb
e30ca98a25
2705808cfa

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: dc679a63b04af361d3e2754b413d3243adff2c92
2021-08-16 17:56:42 -07:00
Xavier Deguillard
3d362fa62b test: skip userinfo test if USER env isn't set
Summary:
In the ASIC test environment, we've see cases where this isn't set, let's
simply skip the test in this case instead of failing.

Reviewed By: chadaustin

Differential Revision: D30353929

fbshipit-source-id: 956da6f8f12de025b8ca72e40097f1f9d50e6bf7
2021-08-16 17:50:38 -07:00
svcscm svcscm
32ac5dc03a Updating submodules
Summary:
GitHub commits:

975bd94824
26acaf0595
a0a7490eaf
cd04668409
5980ae4596
2f57ead52b

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: ed26122e75adc9c2454c8a6e112ab297e5dccd0a
2021-08-16 17:35:37 -07:00
svcscm svcscm
672b34d0e3 Updating submodules
Summary:
GitHub commits:

fec3f1bd93
3966cb7973
c42d9d0252
817485f693
cbb471257d
b37432ecc7

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: d067f8a69d6b125455212aedd2c2c172b3eb0f91
2021-08-16 17:07:15 -07:00
svcscm svcscm
4009d73dcd Updating submodules
Summary:
GitHub commits:

90be2d56cf
62104f6c53
dba6401d94
cd04668409
55b2173703
46e0aa29a2

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c0b202019c423ecfb4bbe85781ed205bd7eed1c4
2021-08-16 16:43:24 -07:00
svcscm svcscm
5d6ef520f2 Updating submodules
Summary:
GitHub commits:

fec3f1bd93
3966cb7973
c42d9d0252
817485f693
1736c53473
cbb471257d
b37432ecc7
c578b00833
6879041661

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c362bcfe56d3f7ac9c09cea9db69a884a33525ef
2021-08-16 16:15:33 -07:00
Xavier Deguillard
303d37ab96 test_support: canonicalize the temporary directory path
Summary:
With D30320515, EdenFS internally canonicalize all the mount paths passed to
it. As a result, the output of `eden list` may not match the path given to
`eden mount` if one of the directory leading to the mount point was a symlink.
Since some tests are comparing both, this can lead to some test failures.

To solve this, we simply need to make sure that the temporary directory for the
test is canonicalized.

Reviewed By: fanzeyi

Differential Revision: D30349411

fbshipit-source-id: 139d4be02b5783c6a439270845239acab6a6c955
2021-08-16 16:08:45 -07:00
Xavier Deguillard
8bbe90545d service: normalize mount point in Thrift endpoints
Summary:
In the case where the path to the mount has symlinks, EdenFS would only accept
the path to it that was specified at mount time, even though another path may
refer to the same directory.

To solve this, we can simply normalize paths in all the Thrift endpoint to make
sure that EdenFS always refers to a mount point under its non-symlinked path.

Reviewed By: chadaustin

Differential Revision: D30320515

fbshipit-source-id: e578d059a3b1307d6b24c4b9bdb1ceb3b534c460
2021-08-16 16:08:45 -07:00
svcscm svcscm
64783b0aaa Updating submodules
Summary:
GitHub commits:

7de2b9bc86
8e01979d1d
388cd3dc6f
f1a9278212
3e70900d7a
04d777a372
46ccb15815
9bef9f3327
f28402fb2f
c5753354c3
681d76765c

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c1c10b8fa441cac0f0aeab32c6d973303273e8ef
2021-08-16 15:25:05 -07:00
Alex Hornby
7813e241df mononoke: remove check_lock_repo from repo_client unbundle
Summary:
We currently do repo lock checks in a loop during unbundle.  However we now do a repo lock check in the  bookmarks_movement::PushrebaseOntoBookmarkOp::run(), making the loop and check in repo_client unbundle redundant

Cons: It will no longer early terminate. Pros: database load should be reduced.

Reviewed By: StanislavGlebik

Differential Revision: D30331806

fbshipit-source-id: 16ee72e570184c20ac08d3fa6d8f9f333c91deb7
2021-08-16 15:12:50 -07:00
svcscm svcscm
a77f47f128 Updating submodules
Summary:
GitHub commits:

8757a6224f
214632d435
dedd9ec4de
c4b5bfa778
41241f8a4d
95022e3fd2
9f166c0132
be61799c10
a1571d9fad
2caf2ff49d
194c148fa6

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 992d8e01ffda4848ce10fe9fd9651126c4cafce7
2021-08-16 15:06:37 -07:00
svcscm svcscm
57dd3db75b Updating submodules
Summary:
GitHub commits:

b65aff4a88
2e44c3a190
8814a7c546
2945b5c1bf
95bb09dcbe
f36b831b8b
0d9aa40859
27f7e4f122
c69fba04e0

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 321ef3122d6c4a6c714d2a7aa70c7ae23396d874
2021-08-16 14:46:13 -07:00
Jun Wu
b2534c7d68 dag: update overlay_map_next_id on flush
Summary:
During flush, there could be newly added vertexes in the master group,
overlay_map_next_id needs to be updated accordingly so lazy lookup
can still work. This is especially needed when the non-master group
needs to be re-assigned.

Reviewed By: andll

Differential Revision: D30314051

fbshipit-source-id: cce7080f62aec2617b8f3d7194864df41dfff7e0
2021-08-16 14:24:48 -07:00
Jun Wu
6bf7d34f3a dag: avoid invalid state in fast pull path
Summary:
In case anything went wrong in the pull fast path, preserve `self` as unchanged
to avoid possible issues.

Reviewed By: andll

Differential Revision: D30314052

fbshipit-source-id: 127a7aeda8f27f7862d1ad92847c2e911131b4b4
2021-08-16 14:24:48 -07:00