Commit Graph

67885 Commits

Author SHA1 Message Date
svcscm svcscm
80c5734503 Updating submodules
Summary:
GitHub commits:

9a881c3eff
86448e3d20
7f60d2d34f
4d5b7ad4e8
ae0f45dd54
ec7640ff50
3fb224b80e

Reviewed By: bigfootjon

fbshipit-source-id: f4c7b75b7caf551286a90b6ad9f5b7b9af8fd947
2021-09-14 16:46:31 -07:00
svcscm svcscm
1c0d0b7656 Updating submodules
Summary:
GitHub commits:

83b414bbf1
176ed296b2
00cecd3b9f
313dc1d66c
4e2a0a0029
8ff4c9c613

Reviewed By: bigfootjon

fbshipit-source-id: 141ba5055111ebd273310261ece824e58e28cdf0
2021-09-14 16:09:18 -07:00
Arun Kulshreshtha
0c9f750154 hg-http: defer progress bar registration
Summary: Don't show progress bars for pending HTTP requests until they actually start running, so that the user always sees progress bars from active transfers.

Reviewed By: quark-zju

Differential Revision: D30914241

fbshipit-source-id: ca2f85af055dc9324123d0f9cc765f42d3b36ad4
2021-09-14 15:03:12 -07:00
Arun Kulshreshtha
bdc48e2b96 http-client: add on_first_activity event
Summary: Add a new `first_activity` event to the `Response` event listeners that fires the first time we detect nonzero progress for either uploading or downloading. This is useful for situations where requests are queued and we want to be notified when the request becomes active (e.g., to register progress bars).

Reviewed By: DurhamG

Differential Revision: D30914242

fbshipit-source-id: 83445724ed81e77ac25954b644e6bbafcbe5cadb
2021-09-14 15:03:11 -07:00
svcscm svcscm
72c07aba6e Updating submodules
Summary:
GitHub commits:

7d1e48227d
f7665efea6
c8a96dadb0
92949d9b0e
12d798ac06
9d46362c0a
803cc7c343
83d9ad05d5
01c748ee64
d3c7444e3c

Reviewed By: bigfootjon

fbshipit-source-id: 974b6d9076ae442040dc5a581ca709e9dd668460
2021-09-14 14:57:50 -07:00
svcscm svcscm
d496493d7e Updating submodules
Summary:
GitHub commits:

563b3defb4
0924137a43
be10e849af
68cf406b50
0d72b6b1e9
4f917b18cd
3b43d7e17d
49e2ce45d5
f1ff11f16e
00ffa5f51d

Reviewed By: bigfootjon

fbshipit-source-id: 5152a9700699b3a8d751b2fef6b5845e7b07d804
2021-09-14 14:30:58 -07:00
svcscm svcscm
2be260de2e Updating submodules
Summary:
GitHub commits:

4e107b8a64
3a2e6140ce
94f01f8f41
d648cb47b9
360398ff6b
d0b24c9412
4155bbf079
20fc850236
4d9c006d19

Reviewed By: bigfootjon

fbshipit-source-id: 80bf460fb8b9321b6a8e183264a6dcc1db9bc3cf
2021-09-14 13:52:13 -07:00
svcscm svcscm
b2dc7236b4 Updating submodules
Summary:
GitHub commits:

3f57ef3672
aeb0dd0f9c
6e849fb9dd
45fa08a480
0934dc0f7d
4c6185848f
93c4848f62

Reviewed By: bigfootjon

fbshipit-source-id: cb06e3cdc57819a79ee6513103409361934f5f2f
2021-09-14 13:00:34 -07:00
svcscm svcscm
ef1ee4a598 Updating submodules
Summary:
GitHub commits:

5d589c0cd7
5f19ed7c22
69bde25719
371cdf8f36
e10e4162c8
b401fe04d1
2ebaff0bcb
63498f7416
1dc474e78b
ae41fd6a0e

Reviewed By: bigfootjon

fbshipit-source-id: 8cad042eebf2a3d2fa123ccaf3ff50a54389e331
2021-09-14 12:14:56 -07:00
svcscm svcscm
3f5a7dc13d Updating submodules
Summary:
GitHub commits:

044f310942
04eecdaf92
4547fcdb6f
09b92d72de
d96675bbd4
5fbb6145c5
baee7ea618
56f834de58
76a1a16c5a
820b4c75fd

Reviewed By: bigfootjon

fbshipit-source-id: 441816c543090394a7518358f12c1d6456472f21
2021-09-14 11:16:37 -07:00
svcscm svcscm
7c7c3a6416 Updating submodules
Summary:
GitHub commits:

a021d01b9d
6e4e3ff165
01a613725b
094ec78e42
db9b95b8f7
34afdc2d3d
52f39a2b9e
b95fb226d0
90036488f3
728f473961
50f9fd0953
25904874f0
577708c2d0

Reviewed By: bigfootjon

fbshipit-source-id: 192cc073f804dd9ce8cd01d55c465192731eb10d
2021-09-14 10:59:05 -07:00
Zhengchao Liu
06b507912f add inode number to NFS trace event
Summary: This adds inode number to NFS trace event so that we can use it in ActivityRecorder to show the filename of the FS request.

Reviewed By: xavierd

Differential Revision: D30849770

fbshipit-source-id: 580faf5fccb1a225399d9aec843e23eae1874e87
2021-09-14 10:44:46 -07:00
svcscm svcscm
237465f769 Updating submodules
Summary:
GitHub commits:

80d0122d00
3abd48b4ba
d97526e3d2
9258f5e9c0
086d4420e6
02247c0bdf
4fcf3b12c4
210eef1e31
9907bf9ec3
13f055465f

Reviewed By: bigfootjon

fbshipit-source-id: 19669b26b873205649feac7411b8e99250c67542
2021-09-14 10:11:49 -07:00
Katie Mancini
1e10a6efd5 raise indulde dot files to a command arg
Summary:
We have an option on GlobFiles for listing hidden files, but we don't have a
cli option. We default to false in the cli. Let's pipe this option all the way through.
so that we can control this flag from the cli.

Reviewed By: xavierd

Differential Revision: D30915118

fbshipit-source-id: 28b91d4fd2dd4bdf9e342929f570f64db14e8ad0
2021-09-14 10:02:33 -07:00
Katie Mancini
11da6c1027 prefetch option to only list files
Summary:
`eden prefetch` and `eden glob` return lists that despite being called
"maching files" actually contains both files and directories.

In some cases, we only want the list of files and it introduces unnessecary
overhead on our clients for them to have to stat all the files in the list to
filter out the dirs. Let's add an option to just list files.

Reviewed By: chadaustin

Differential Revision: D30816193

fbshipit-source-id: 6e264142162ce03e560c969a0c0dbbc2f418d7b9
2021-09-14 10:02:33 -07:00
Genevieve Helsel
0fba1ca036 fix error message in performBindMounts
Summary: The error message that currently exists here does not correspond to the command ran, its just missing the "redirect" part

Reviewed By: xavierd

Differential Revision: D30914616

fbshipit-source-id: 866ab7d494b728af13fbb3656edb8740a399755f
2021-09-14 09:58:00 -07:00
svcscm svcscm
b11994fb60 Updating submodules
Summary:
GitHub commits:

93a653af19
00beafce53
431a693b6a
7c065c0742
648be11c1d
67417e51cf
fd4379db4a
63e7c1b2cb
dd94dabd0d
c5cef54d96

Reviewed By: bigfootjon

fbshipit-source-id: 2eb2d45e7a379979bee1aeb9667fb243b1ad7863
2021-09-14 09:43:26 -07:00
Jasmeet Bagga
da821dcc9c Opt fboss into auto thrift format
Summary:
We are already enrolled in clang-autoformat, but not in
thrift auto format. Enable that now, so we can let linters worry about
formatting our code.

Reviewed By: phshaikh

Differential Revision: D30905313

fbshipit-source-id: bb4724cc11c455b23305e120ddcf22a3df0125b8
2021-09-14 09:16:13 -07:00
svcscm svcscm
551db6f989 Updating submodules
Summary:
GitHub commits:

985e26dff8
39b927c23f
61e00b1143
2a1ea63708
e5e422098d

Reviewed By: bigfootjon

fbshipit-source-id: e942e89de52734756b988b41ad74baeed6649119
2021-09-14 08:58:47 -07:00
svcscm svcscm
9cef774ec9 Updating submodules
Summary:
GitHub commits:

1ba58bdb73
6c1c79af3c

Reviewed By: bigfootjon

fbshipit-source-id: feeb95553f8770ec05b2af4cea377f12e0bdc812
2021-09-14 08:31:03 -07:00
svcscm svcscm
82e973fa02 Updating submodules
Summary:
GitHub commits:

a3c8b1d158
d7251b9807
cc312fdd9a
25b51ded48

Reviewed By: bigfootjon

fbshipit-source-id: 3601952fd228ea5db839bc5cb35347662b6dc8f2
2021-09-14 05:35:17 -07:00
Yan Soares Couto
b5a2b2004f Block derivation of mercurial and git changesets for snapshots
Summary:
There's no real equivalent of hg changeset of snapshot, so let's not derive it.

Closes task T97939172

Reviewed By: liubov-dmitrieva

Differential Revision: D30902073

fbshipit-source-id: 8128597c25e12e40e719cdd7800d4b9b792391c9
2021-09-14 05:10:13 -07:00
Yan Soares Couto
2c60888f7c Basic info command
Summary:
`hg snapshot info` command will be used to get information about the snapshot (similar to `hg show` for commits)

It's still not easy to do this, as we want to have derived data for snapshots, which is still unimplemented.

For now, this makes the command only check if the snapshot exists or not. In the future more functionality will be added (and likely the edenapi endpoint we query will be different).

Reviewed By: liubov-dmitrieva

Differential Revision: D30900088

fbshipit-source-id: 4dc6915d74694a03496c756f03bc073d1a0819f2
2021-09-14 05:10:13 -07:00
svcscm svcscm
c555aaa316 Updating submodules
Summary:
GitHub commits:

977ef25501
9a37599dad
01139f04cc
bd53ade229
5cf211654e

Reviewed By: bigfootjon

fbshipit-source-id: 0f527ae80f78ca270d81b45309dca7e42a1550cc
2021-09-14 04:56:09 -07:00
svcscm svcscm
58651603dc Updating submodules
Summary:
GitHub commits:

95c67ccdcf
585c403d21

Reviewed By: bigfootjon

fbshipit-source-id: 2701a2a6559ddadc52af3b103b6672d428beec0a
2021-09-14 04:12:02 -07:00
svcscm svcscm
18c48d33aa Updating submodules
Summary:
GitHub commits:

40b6b260d9
35788ca34d
b1eec52db7
0a0df709a5

Reviewed By: bigfootjon

fbshipit-source-id: 214960aef94dda5a8f42566c32aad0a85bdebd53
2021-09-14 02:05:48 -07:00
svcscm svcscm
7d89732e88 Updating submodules
Summary:
GitHub commits:

948ed75f31
bac6a9325d
2679d252b9
f95493a015
59afb40ad9
0516f2e82c
50bce19a4e

Reviewed By: bigfootjon

fbshipit-source-id: 8888cad54c772ed87c3696596e51df8ddeabbb3a
2021-09-14 01:37:21 -07:00
svcscm svcscm
4c968afd5c Updating submodules
Summary:
GitHub commits:

87e932e9d3
26803ab0bf
1c59b84ff3
71390af1c0
974c1c2ab9
6577d0bd4d
69b11cffe0
56ad82eb02
37424a19ff
b818c58231

Reviewed By: bigfootjon

fbshipit-source-id: 779de99ab599b102cde91a2953c3413712035a7c
2021-09-13 23:56:46 -07:00
svcscm svcscm
9c524ca87a Updating submodules
Summary:
GitHub commits:

fae937abd1
8f5af03f2f
5c4325e44f
fe5b34551c
6288d88f53
45b5bc25dd
39a687c4d8
dc0fa0d154
b72f1f605f
616e3ab7e1

Reviewed By: bigfootjon

fbshipit-source-id: 1776b353d06306097e26c5260039019154d3da6b
2021-09-13 23:01:10 -07:00
svcscm svcscm
83ab4579e6 Updating submodules
Summary:
GitHub commits:

a082c77349

Reviewed By: bigfootjon

fbshipit-source-id: 674046a46824ddb2d5cb24ba8a68bbf39d980281
2021-09-13 22:31:44 -07:00
Stiopa Koltsov
8efdd836e5 Doc warning of buck2 dependencies
Summary:
* links to private items
* raw non-markdown links

Reviewed By: quark-zju

Differential Revision: D30893382

fbshipit-source-id: 164fc8428437e303b5c1ba47d3f83ac2051e0d46
2021-09-13 20:51:21 -07:00
Xavier Deguillard
de4be2df48 utils: mark SpawnedProcess as being waited when waitpid fails
Summary: This is a similar diff to D30915090, but for EdenFS.

Differential Revision: D30915126

fbshipit-source-id: 9a718e47237924ebe20176c522a1b1193224236c
2021-09-13 20:00:45 -07:00
Chad Austin
7ef95f6d82 add an ObjectId type
Summary:
To eliminate the need for proxy hashes, we need variable-width object
IDs. Introduce an ObjectId type much like RootId.

Reviewed By: genevievehelsel

Differential Revision: D30819412

fbshipit-source-id: 07a185ba6b866b475c92f811e70aa00a8a9f895f
2021-09-13 17:21:01 -07:00
Arun Kulshreshtha
92ff6fd79a edenapi: add repo name to client config
Summary: As a first step to moving the repo name inside the EdenAPI client itself, add it as a (currently unused) field to the config. Later diffs will use this instead of having each method take a `repo` argument.

Reviewed By: quark-zju

Differential Revision: D30746379

fbshipit-source-id: 07957e53e940ce72f84b2297f506b796117ec46a
2021-09-13 16:05:53 -07:00
Alex Barouski
cb1d34f8d4 Added building Uuid5
Summary: We use it as an unique key for the detector

Reviewed By: ginfung

Differential Revision: D30703470

fbshipit-source-id: cb8e7dae5dc4192402530b2cfe564b86aa23c7c8
2021-09-13 14:45:12 -07:00
Liubov Dmitrieva
3fe7179fe6 check all the multiplexed blobstores when we check is_present
Summary:
Edenapi lookup (for file content, filenodes and trees): check all the multiplexed blobstores when we check is_present.

This will help us to avoid undesired behaviour for commit cloud blobs that haven't been replicated to all blobstores. Healer currently doesn't check commit cloud blobs.

Reviewed By: StanislavGlebik

Differential Revision: D30839608

fbshipit-source-id: d13cd4500f7b14731d8b75c763c14a698399ba02
2021-09-13 14:34:04 -07:00
Muir Manders
6f4f76c6bd scmstore: add activity log replay tool
Summary:
The new debugscmstorereplay command replays scmstore fetches given an activity log created previously via the scmstore.activity log config parameter.

Replaying activity logs may help to understand or reproduce performance issues related to file fetching. Currently the replay tool ignores all complications such as concurrent fetches or variable backends.

Differential Revision: D30288701

fbshipit-source-id: c6b24acdbd37b5a51ccba3e74e8f074062e880e5
2021-09-13 13:07:32 -07:00
Muir Manders
c4e6a98967 scmstore: add activity log to record file fetches
Summary:
The new scmstore.activitylog config knob optionally specifies a file for scmstore to record fetch activity. Currently it only records file fetches, but it is intended to also record tree fetches once that is fully baked.

The purpose of the log is to record file access patterns to help debug command performance. The following commit will include a tool to replay scmstore activity from the log file.

Activity is stored in the log as newline delimited JSON objects. In addition to fetched keys, we also record the start time and duration of each fetch.

Differential Revision: D30288715

fbshipit-source-id: c40177e95b1f613ebed41e50a476cbf39e6d9364
2021-09-13 13:07:32 -07:00
Carolyn Busch
d43c6597cd integrate edenapi commit graph into pull
Summary: Pull commit graph using edenapi for lazy changelog repos.

Reviewed By: quark-zju

Differential Revision: D30733266

fbshipit-source-id: 90be0105cac2a2ab5170970c612767343c06bf7a
2021-09-13 12:29:54 -07:00
svcscm svcscm
1ccb6aa050 Updating submodules
Summary:
GitHub commits:

99bbb4dc6a
9615e17217
c6e5227f30
44c9b05917
306b779957
ed4143ac4d
6d22bb4494
9a587c2e47
7ceee02d22

Reviewed By: bigfootjon

fbshipit-source-id: 55aa5f5391cbd3cb059a8974af5d709a2227735d
2021-09-13 12:16:26 -07:00
Jun Wu
04433db83f segmented_changelog: update doc for hash -> location endpoint
Summary:
Make it more detailed, especially about corner cases. Avoid ambiguous words
like "valid" etc.

Reviewed By: farnz

Differential Revision: D30876339

fbshipit-source-id: a45ca643c6454645f7729053a7ea5dd78016fc68
2021-09-13 10:08:42 -07:00
Carolyn Busch
97212dc012 impl graph for client
Summary: Add commit graph request to edenapi client.

Reviewed By: quark-zju

Differential Revision: D30721118

fbshipit-source-id: dfcc012e7b411d0e4d73e11af837cc6bdac67291
2021-09-13 09:58:46 -07:00
Durham Goode
fdf2fcb5bf tests: fix broken test output
Summary:
Same fix as D30874167 (9edb2cafe7), but for hg-server. This was broken in a recent
update.

Reviewed By: yancouto

Differential Revision: D30882520

fbshipit-source-id: 7e23556f619e3ead585e9e756456f30578ff7cab
2021-09-13 09:33:44 -07:00
svcscm svcscm
c556d954db Updating submodules
Summary:
GitHub commits:

0acb5432f8
c5c985da3b
dafa584fd1
b24042f01e
ce39ca504f

Reviewed By: jurajh-fb

fbshipit-source-id: 33f5e4f14c59a5acd87c832ae87a4b93be183174
2021-09-13 09:28:23 -07:00
Stanislau Hlebik
f3af697f30 mononoke: introduce BackgroundUnlessTooSlow session class and use it in blobstore
Summary:
Some time ago (see D25910464 (fca761e153)) we've started using Background session class
while deriving data. This was done to avoid overloading blobstore sync queue - if Background
session class is set then multiplex blobstore waits for all blobstores to
finish instead of writing to the blobstore sync queue right away. However if any of the
blobstores fails then we start writing to the blobstore sync queue. In theory it should have avoided the problem of overloading blobstore sync queue while having the same multiplex reliability (i.e. if only a single blobstore fails the whole multiplex put doesn't fail)

Unfortunately there was a flaw - if blobstore put of a single blobstore wasn't
failing but was just too slow, then the whole multiplexed put operation becomes
too slow. This diff fixes this flaw by adding a timeout - if multiplexed put is
taking too long then we fallback to writing entries to the blobstore sync
queue.

Note that I added a new session class - BackgroundUnlessTooSlow -
because I figured that in some cases we are ok with waiting a long time but not
writing to the sync queue. Skiplist builder might be a good example of that -
since it's doing overwrites then we don't want to write to the blobstore sync
queue at all, because healer doesn't process overwrites correctly.

Reviewed By: farnz

Differential Revision: D30892377

fbshipit-source-id: 69ac1795002b124e11daac13d8bfe59895191168
2021-09-13 08:09:12 -07:00
Yan Soares Couto
5e861e6949 HGPLAIN version of createremote
Summary: When specifying `HGPLAIN`, only the hash is outputted, which is easier for automation.

Reviewed By: StanislavGlebik

Differential Revision: D30899254

fbshipit-source-id: 32457c6b92d14305c5b0bafb1217d574ec83a85c
2021-09-13 06:15:04 -07:00
Stanislau Hlebik
8ca1ef0c5e mononoke: actually use scuba dataset that's set on the cmd line
Summary:
I added logging in D30805504 (d5e2624fbb), however it wasn't really logging anything,
because I forgot to pass scuba sample builder to CoreContext (facepalm).

This diff fixes it.

Reviewed By: HarveyHunt

Differential Revision: D30899642

fbshipit-source-id: 6e20f1e84fc96175be8ca7a6f91c0fc61caf8e49
2021-09-13 05:38:33 -07:00
Stanislau Hlebik
5e45855552 mononoke: remove unnecessary CoreContext creation
Summary:
It looks like the comment is misleading (we don't really derive anything in
this block, just finding underived commits), and this CoreContext override
doesn't seem necessary anymore. Let's remove it

Reviewed By: farnz

Differential Revision: D30899641

fbshipit-source-id: 2850905891a9bd8b01f3f6fa9ef15c572fc2f07a
2021-09-13 05:27:51 -07:00
svcscm svcscm
805ecb64c7 Updating submodules
Summary:
GitHub commits:

4729cdfa25
31f73c6db3
af07e23eef
10852dabba

Reviewed By: jurajh-fb

fbshipit-source-id: 999e30435745eacf0116b6d6eab68dfed6ce9eba
2021-09-13 03:45:22 -07:00
Yan Soares Couto
1df5836799 Allow using "snapshot create"
Summary:
`createremote` is a slightly inconsistent name.

The reasoning behind it was that this command creates the snapshot on server side only.

But since actually making the client snapshot-aware is pretty far away, I prefer to make it "create".

Reviewed By: StanislavGlebik

Differential Revision: D30871026

fbshipit-source-id: fde5d65e38249998f71e51b76ccb7d7b6b9bf24d
2021-09-13 02:59:48 -07:00