Commit Graph

66771 Commits

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

7415a5fa14
bb79a9beef
0c87a15350

Reviewed By: wittgenst

fbshipit-source-id: 399ba5051474a072cfa51aea0000590b452d37f1
2021-07-20 08:51:54 -07:00
CodemodService Bot
9da4c508e4 Daily common/rust/cargo_from_buck/bin/autocargo
Reviewed By: krallin

Differential Revision: D29786293

fbshipit-source-id: c1bad073d31889404278cb93a192214f06193018
2021-07-20 05:00:14 -07:00
svcscm svcscm
c3d04a11ed Updating submodules
Summary:
GitHub commits:

e3f0ace790
7b801f01eb
f396c768d9
42e48552c8

Reviewed By: wittgenst

fbshipit-source-id: 4cbdb62542421535b8e1780d60414822af5a0e17
2021-07-20 04:42:00 -07:00
svcscm svcscm
a98a2c8774 Updating submodules
Summary:
GitHub commits:

10e8c2b2e3
3dedb8c888
15f1e59d04
c3f0430436
cf7eef92d5
ff34e422fd

Reviewed By: wittgenst

fbshipit-source-id: ea9492e19ab87e59ff889845cfb603fbb50f312e
2021-07-20 04:05:22 -07:00
Liubov Dmitrieva
26e149e737 rename cbor_stream => cbor_stream_filtered
Summary:
Rename to avoid confusion. The function filters errors from the underlying stream.

The first error and number of errors are logged to scuba but the errors are not passed to the client.

Reviewed By: kulshrax

Differential Revision: D29734930

fbshipit-source-id: 503adaa9e618d931a354011ef83c3ab22eb3b9bf
2021-07-20 03:50:09 -07:00
svcscm svcscm
fb3e1b38b2 Updating submodules
Summary:
GitHub commits:

bcc6fe7edc
91a5c4c64d
497afeaa6b
ac6960e555
8d4ffb9c26
2a36b1c255
a2a5984202
ef7de8470c
ee1db3c553

Reviewed By: wittgenst

fbshipit-source-id: 3dc33967c0f8d6855cd0f1d2a9caf1f86b29302a
2021-07-20 03:46:20 -07:00
svcscm svcscm
3ad6bf11b1 Updating submodules
Summary:
GitHub commits:

9b4811ec09
62d2c1b61d
05be35b69f
e983418157
81577f2d74
a434689c00
734ddd728b
f61526113e
4cf15a9762
07747f6997
59515dc9bc

Reviewed By: wittgenst

fbshipit-source-id: dac1a9cc18623ce8a669a2bf9a69162ed034be02
2021-07-20 03:19:47 -07:00
svcscm svcscm
f520463953 Updating submodules
Summary:
GitHub commits:

8426f971de
76ba1f347b
4548ec7bfd
0ebab44ccb
0150af5061

Reviewed By: wittgenst

fbshipit-source-id: 1a4ea1a93447394e3e8343a64bcade8423effc91
2021-07-20 02:53:36 -07:00
svcscm svcscm
f922be3288 Updating submodules
Summary:
GitHub commits:

f7ccdc9584

Reviewed By: wittgenst

fbshipit-source-id: 63118b9931258e49598ceae0dabf60e1bbd33a0a
2021-07-20 02:18:04 -07:00
Zhengchao Liu
d8b2d58e84 categorize NFS handlers by AccessType
Summary: We already have AccessType for FUSE, this adds the same categorization for NFS. This allows us to easily filter events in trace stream and ActivityRecorder.

Reviewed By: chadaustin

Differential Revision: D29771074

fbshipit-source-id: a437f0693f9062fb2df3b6f618a9d8860a05df12
2021-07-19 19:10:48 -07:00
svcscm svcscm
50edf4fb47 Updating submodules
Summary:
GitHub commits:

aa2128bd0d
30079acb86
eb577aed12
d7b15419a4
443467e4c0

Reviewed By: wittgenst

fbshipit-source-id: aed79c27c5aada31a8f3546c9653acb828c55875
2021-07-19 18:56:41 -07:00
svcscm svcscm
fb1b34f4c2 Updating submodules
Summary:
GitHub commits:

c8362ce5b3
c2c5c491e8
51f8df71ce
bbc85a5f22
b90669aa50
55114f4cc8

Reviewed By: wittgenst

fbshipit-source-id: 4785924b0cf033840d5aad2e435dcd4279ccf48a
2021-07-19 17:33:21 -07:00
svcscm svcscm
abad58aaf0 Updating submodules
Summary:
GitHub commits:

77d3d81fda
628722d849
5c510fa0cc
4b9407979e
ae7f661cf3
d7725bbc2c
a059c54217

Reviewed By: wittgenst

fbshipit-source-id: 78c73cddaa4e5e0fa47138bde6776dfb65e7ab93
2021-07-19 17:00:41 -07:00
svcscm svcscm
e2bb69d260 Updating submodules
Summary:
GitHub commits:

da140c495e
ca06e49139
657399403d
46cf93eb05
bdb8a06f83
235d9b0d15
a1b6628774

Reviewed By: wittgenst

fbshipit-source-id: 51a8c81ff7c5fc09b89076a761f24d3c416b933e
2021-07-19 16:21:41 -07:00
svcscm svcscm
e0975c7e63 Updating submodules
Summary:
GitHub commits:

dfe8e6a7ee
5cd7f3615a
b54adcf727
8c4b699d61
c00b3ab6c7
cfb5c77f7a

Reviewed By: wittgenst

fbshipit-source-id: 62cbd93527a7bea63b3220a42f2872397ab6ee78
2021-07-19 15:49:21 -07:00
svcscm svcscm
11c0137f0d Updating submodules
Summary:
GitHub commits:

8664a02e0c
630a5a43a2

Reviewed By: wittgenst

fbshipit-source-id: a7cc7e57e5a6ce35ca3e14f64ed27ca4e0dfa395
2021-07-19 15:15:31 -07:00
svcscm svcscm
2ee85906e2 Updating submodules
Summary:
GitHub commits:

453cdbdd62
b93eb90666
8cbdb6edc9
d80aa78d21
6603032327

Reviewed By: wittgenst

fbshipit-source-id: 1bc815c03baae7fc494f2d8714ea705fe98682bb
2021-07-19 10:06:34 -07:00
Yan Soares Couto
a47540a494 Add /ephemeral/prepare endpoint
Summary:
Using all the preparations added in the stack, this diff adds the `/:repo/ephemeral/prepare` endpoint to eden api.

It simply creates an ephemeral bubble and returns its id via the call.

Reviewed By: markbt

Differential Revision: D29698714

fbshipit-source-id: 5bc289cad97657db850b151849784e50a17a9da6
2021-07-19 09:53:04 -07:00
Yan Soares Couto
58448b16d5 Add ephemeral blobstore to inner repo
Summary: This allows ephemeral blobstore to be used in places that have a Repo context, like in the eden api, which will be used on the next diff to implement a new endpoint on eden api to create a bubble.

Reviewed By: markbt

Differential Revision: D29697657

fbshipit-source-id: b7e83c5c7c5e77243f0dba29c024d9f66ca4b2f9
2021-07-19 09:53:04 -07:00
Yan Soares Couto
e20022a088 Build ephemeral blobstore on repo factory
Summary:
Config for ephemeral blobstore and some code for creating ephemeral blobstores was already added, this diff ties them both together by making the ephemeral blobstore be build using the default config on RepoFactory, so it can be used as a Repo attribute easily in other places.

I was able to do this easily because I stopped using `BackingBlostore` and started simply using `dyn Blobstore` in the ephemeral blobstore. Using BackingBlobstore would require some significant changes, because:
1. Building of blobstores is not ergonomic, it is quite hard and requires a bunch of manual code to be able to build some subtrait of Blobstore.
2. A lot of the blobstores "wrappers" do not implement things like BlobstoreKeySource, which would need to be implemented individually (example: D29678881 (817948ca75) would be just the start).

Reviewed By: markbt

Differential Revision: D29677545

fbshipit-source-id: 0f5cffe6bdfece1aaa74339ef40376d1ff27e6c2
2021-07-19 09:53:04 -07:00
svcscm svcscm
8969231359 Updating submodules
Summary:
GitHub commits:

49162e4b97
d5f3b77f23

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 29b409327eb84b2213a7ca15e2615ccf7ef89033
2021-07-19 09:11:05 -07:00
svcscm svcscm
b6dc24f060 Updating submodules
Summary:
GitHub commits:

9dc335f73d
9adfaae0a1
48d84359ce
4644aa2fc8

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 9fbb3bc1e3454ca9661d4e1876947dad5e3ba317
2021-07-19 07:07:03 -07:00
Liubov Dmitrieva
2c7e60f30a commit cloud: improve handling of failed commits for cloud upload
Summary: Improve handling of failed commits for `hg cloud upload` and `hg cloud sync` (upload mode)

Reviewed By: markbt

Differential Revision: D29734169

fbshipit-source-id: c995f700ea23ff2898f27780c39f2bd1c58c1a02
2021-07-19 06:51:23 -07:00
svcscm svcscm
2e7f9e5e13 Updating submodules
Summary:
GitHub commits:

81657eec53
cea1dc0fb5
2e276bbc67
dc2cd81346
fb09d0250b
56edaa253c

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 2909a125006ca44c30f54b0193199b8a15e58a71
2021-07-19 06:24:06 -07:00
Yan Soares Couto
eccda5507b Use Reloader on segmented changelog periodic reloader
Summary:
Use the class added on previous diff on segmented changelog periodic reloader as well.

To do this, I needed to add some changes to reloader:
- Add auto implementation of `Loader` trait for functions
- Add a tokio notify, as that was used on tests in segmented changelog

Reviewed By: markbt

Differential Revision: D29524220

fbshipit-source-id: 957f21db91f410fcdabb0d1c16d5c4f615892ab6
2021-07-19 05:17:50 -07:00
svcscm svcscm
30edd6a5fd Updating submodules
Summary:
GitHub commits:

fbe1e6f467

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: b0128312508b667e894aa86f5befcddf23468081
2021-07-19 05:08:16 -07:00
Yan Soares Couto
817948ca75 Implement BlobstoreKeySource for Prefixer and Counting blobstores
Summary: If we ever want to start using things like BlobstoreKeySource more extensively, we'll need to implement it for a lot of blobstores. This starts that, though it's not used for now.

Reviewed By: ahornby

Differential Revision: D29678881

fbshipit-source-id: 918a169b8b934c6f5e1eefaba7d11dc220eb7c59
2021-07-19 05:04:34 -07:00
Aida Getoeva
0619e705ef mononoke/multiplex: put sync-queue lookup for get under the tunable
Summary: This is needed to disable sync-queue lookups and second blobstores lookups later on.

Reviewed By: StanislavGlebik

Differential Revision: D29663435

fbshipit-source-id: abb5109de6063158a7ff0a116a5c1d336bfdb43f
2021-07-17 17:00:16 -07:00
Aida Getoeva
008c99e5fa mononoke/multiplex: remove fail_if_unsure where possible
Summary: This just helps to understand where we definitely have to fail in case of "ProbablyNotPresent" and work on those in the future.

Reviewed By: StanislavGlebik

Differential Revision: D29663436

fbshipit-source-id: c8428115f3c9637114e3964c948123d473207d53
2021-07-17 17:00:16 -07:00
svcscm svcscm
b885f3afe7 Updating submodules
Summary:
GitHub commits:

b6c23f08b2
f8c789bebc
f4fac1c499
c2bf09d951

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: e10f770a04489f33bb37b744379a9bb020025c2e
2021-07-17 16:54:08 -07:00
svcscm svcscm
354882e837 Updating submodules
Summary:
GitHub commits:

0729042dc3

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: e2ddb2b2e8bff125f395ac10d907d2e6135c68fd
2021-07-17 16:18:54 -07:00
svcscm svcscm
3a5d69580a Updating submodules
Summary:
GitHub commits:

8ffa1a4454
0cfdc66beb
efce41e52f
73e09e67be

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 6bad6cc6ba67a8e15e42055775116cb8b32f2d9a
2021-07-16 21:48:15 -07:00
svcscm svcscm
d0e9ae049d Updating submodules
Summary:
GitHub commits:

d327ce838c

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: b2b235246ef8cc6eac130fd4c1b3b5293be0e0d7
2021-07-16 21:23:45 -07:00
svcscm svcscm
76d0ee25f4 Updating submodules
Summary:
GitHub commits:

1a16581902
667306b679
9e885939a3
4e9b9da8b8
c4de78c045

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 3e7fb18913663ea92101765f4a492b2442255fe6
2021-07-16 20:24:23 -07:00
svcscm svcscm
045a4b6916 Updating submodules
Summary:
GitHub commits:

1df2f2b282
7c03ce7781
7441dc286a
2083599ecc
e25cd1cf22
b7d1f44cd2
9d7cfe4425

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 02706e85ffd906e9e804e19cfde047dddd8dac98
2021-07-16 19:18:46 -07:00
svcscm svcscm
bde87f0b2a Updating submodules
Summary:
GitHub commits:

e33de4d1e3
00eed2c501
18fb31216b
c407a6368a
629e45417a
f620a352fd
3c8d8a519f
fb9cc2f9d7
d80248f577

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 1b9634f154c68c111567563995f4c8bfbcfd6a18
2021-07-16 18:54:09 -07:00
svcscm svcscm
56e49f011c Updating submodules
Summary:
GitHub commits:

314b640b48
a7c7c9c0f1
8ba6d12c5c
803b636e61
c04a86a0e9
243894b5dc
aed0d0da2b
15cb9b3f1a
64fb0b968c
c05ff65aae
89b1bd0849

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 5626b50f197a0de8136d04da1fed3329823eb83f
2021-07-16 18:09:50 -07:00
svcscm svcscm
cb473734c9 Updating submodules
Summary:
GitHub commits:

8a845377ba
27b0f51ff4
b8fdbc94a7
3455ab0e2b
1d34af89f9
8519192653

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: e7141ae4a3c7ed8f4c4598f085914f0710143697
2021-07-16 17:48:04 -07:00
Durham Goode
195d166b0f memcache: don't use memcache for short commands in legacy store
Summary:
The memcache client has a 2+s setup time, so let's avoid it for short
commands.

Reviewed By: quark-zju

Differential Revision: D29627225

fbshipit-source-id: c755fbaadd35e423b6dafe772ffbed82fe41abce
2021-07-16 17:11:50 -07:00
Durham Goode
48939a54bf memcachestore: remove direct usage of MemcacheStore
Summary:
Previously we could add a MemcacheStore to the store hierarchy in two
ways: directly as MemcacheStore and through the MemcacheHgIdData/HistoryStore
wrappers.

In a future diff we'll want to track how long since the store was created and
not call the inner MemcacheStore in certain situations. To do this, we want all
accesses to go through the MemcacheHgId*Store abstraction.

Reviewed By: quark-zju

Differential Revision: D29627226

fbshipit-source-id: 9e979281fbb2eec123577d99a8879bcf80578136
2021-07-16 17:11:50 -07:00
Durham Goode
7e76b7dc29 memcache: don't use memcache for short commands in scmstore
Summary:
The memcache client takes 2 seconds to set up, so let's not use it for
short commands.

Reviewed By: quark-zju

Differential Revision: D29627229

fbshipit-source-id: bbefcd362e215a3b0f8a0f07c39b7ef00c71379e
2021-07-16 17:11:50 -07:00
svcscm svcscm
08a6b10cc0 Updating submodules
Summary:
GitHub commits:

28338c5a1b
2b0a9d404c
5a5b4abd09
a379dae4f7
6aca7aea15
4b971828fc
ea94540348

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0631b10783bf598e525bd53f75e728aca810d0bd
2021-07-16 16:19:27 -07:00
svcscm svcscm
a9477ce72a Updating submodules
Summary:
GitHub commits:

f4578c94a3
213c693131
577fe813b7
8738bcff36
ac37bfded0
6ed5f4aff9

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 28f71dde19432ee01849a571e8209e0df5af0a79
2021-07-16 15:24:26 -07:00
Zhengchao Liu
17f9251909 allow separate batch sizes in HgImportRequestQueue
Summary: We want to support different batch sizes for blob or tree. This diff moves the batch size read logic into `HgImportRequestQueue`, adds a new config `import-batch-size-tree` (added in D29714772), and updates tests accordingly.

Reviewed By: kmancini

Differential Revision: D29703450

fbshipit-source-id: b85666838a0a8c1857b9d1de4f6c47128063633a
2021-07-16 15:01:58 -07:00
svcscm svcscm
ea04743986 Updating submodules
Summary:
GitHub commits:

bd8c4f2db7
84fd151403
40884e8564
69e064f678
965efa806f
92840487c3
32077a97c4
f8e0a5ec24

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: ffef915beb8c2f31ac3d65c775f5be88a34d727b
2021-07-16 14:57:17 -07:00
svcscm svcscm
65e293dd89 Updating submodules
Summary:
GitHub commits:

02984da3ba
99a16225cf
1ce7d818ec
508f3d1a65
df5dc73bec
d717ae0f57
22567a4d56
380dc4abe1

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: b22d1d2f8cd6d5f635fdc6a076204b4ee7a7f210
2021-07-16 14:37:15 -07:00
svcscm svcscm
e72d58b868 Updating submodules
Summary:
GitHub commits:

f2ba5f4a3f
ef6bfa6d4b
a2ddd0afc1
25233cf5d0
2a0ab306bd
74534743cf
0998b712ae
33faec5967
02c50615a4

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 822a09b75a7ba779e42acdae3857bccfb18b87c4
2021-07-16 14:05:24 -07:00
Durham Goode
5077128101 tests: actually fix test-import-t.py on Windows
Summary:
My previous attempt at fixing it chose the wrong hash. Let's just
delete these lines entirely.

Reviewed By: singhsrb

Differential Revision: D29742490

fbshipit-source-id: 72a174e0e2d59aec4de35d7eb3fcc43939be8ea1
2021-07-16 13:50:19 -07:00
svcscm svcscm
0aa3db6c03 Updating submodules
Summary:
GitHub commits:

bb4fe81caa
bbdc820e71
7593a582db
8578922355
1e5b631e51
14f71cf724
e2b6c4ba3e
34ac4721e7
10ec7903f9
2a886ba9d9
4c15d66422

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: f11889bb30b9b6f4d8c2b561e0bbc95554a023a3
2021-07-16 13:07:10 -07:00
svcscm svcscm
b9d1fc25dd Updating submodules
Summary:
GitHub commits:

ed87810e6e
39bf875ce9
653703a385
e3b65c816f
ddee971093

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c0e323a7dc3cc4ded79837f00da5ab275b79b2d5
2021-07-16 12:41:37 -07:00