Commit Graph

65553 Commits

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

80fdd6234f
9f29b437dd
50a6a7ea51
983724bc00
5a5a8cd11a
fee368bb50
43bce2f155
913f8b49d1
430ead8470
8097b51b4b
34ae32e61f
8987f6b924
efa3927de9

Reviewed By: wittgenst

fbshipit-source-id: e9d097861ff0b5f066d2b6d361fe9c6c4efc83c3
2021-05-10 17:58:17 -07:00
svcscm svcscm
9dcbd0aac5 Updating submodules
Summary:
GitHub commits:

7caee4a9a1
e75e882977
a4253ec787
ff463742b5
4b1ecb0fc6
38c903ba2f
f96a681888
566d74c27c

Reviewed By: wittgenst

fbshipit-source-id: cf87b759152e082c8959d810aa1bae46dc34e112
2021-05-10 14:48:58 -07:00
Xavier Deguillard
1aa6e143e6 fuse: allow applexattr with macFUSE
Summary: This is the same change as D27137328 (a9a1b73418) but for macFUSE.

Reviewed By: kmancini

Differential Revision: D28328029

fbshipit-source-id: c58e146dba2e7e3bdb320f2b5e80946e4a7b3afe
2021-05-10 13:37:43 -07:00
Genevieve Helsel
728e643a48 use eden daemon background prefetch logic instead of python subprocesses
Summary: With the addition of the ability to "background" the prefetches in the daemon itself, we can remove the subprocess backgrounding in the python layer and just depend on the internal backgrounding.

Reviewed By: chadaustin

Differential Revision: D27825274

fbshipit-source-id: aa01dc24c870704272186476be34d668dfff6de5
2021-05-10 12:42:50 -07:00
Xavier Deguillard
29d003865f fuse: workaround macFUSE ABI change
Reviewed By: chadaustin

Differential Revision: D25505235

fbshipit-source-id: 31a2b3993801de4c8f084213e73f623dba820ef6
2021-05-10 12:39:33 -07:00
svcscm svcscm
28b1cf2259 Updating submodules
Summary:
GitHub commits:

774f5baeab
be6e15efb0
27991bf1d1
eb05c99b95

Reviewed By: wittgenst

fbshipit-source-id: 3608634ea4e44f10e47419bbb933689c48a01d87
2021-05-10 12:22:04 -07:00
Chad Austin
d45b2711a2 remove the dead getTreeForManifest
Summary: getTreeForManifest is no longer called, so remove it.

Reviewed By: genevievehelsel

Differential Revision: D28306796

fbshipit-source-id: e51a32fa7d75c54b2e3525e88c162247b4496560
2021-05-10 11:53:30 -07:00
Stanislau Hlebik
df340221a0 mononoke: add commit_rewriting logic to megarepo_api
Summary:
This is going to be use to rewrite (or transform) commits from source to
target. This diff does a few tihngs:
1) adds a MultiMover type and a function that produces a mover given a config. This is similar to Mover type we used for fbsource<-> ovrsource megarepo sync, though this time it can produce a few target paths for a given source path.
2) Moves `rewrite_commit` function from cross_repo_sync to megarepo_api, and make it work with MultiMover.

Reviewed By: ikostia

Differential Revision: D28259214

fbshipit-source-id: 16ba106dc0c65cb606df10c1a210578621c62367
2021-05-10 11:48:23 -07:00
svcscm svcscm
f359ca9cf9 Updating submodules
Summary:
GitHub commits:

8f656f6a50
442c58d560

Reviewed By: wittgenst

fbshipit-source-id: 9695d9e78ede9477fa7f50a6571224bafbc2ccc9
2021-05-10 11:40:59 -07:00
Jan Mazur
ceb03efb60 disable debuginfo stripping to work around eu-strip failing
Summary: Don't need this.

Reviewed By: HarveyHunt

Differential Revision: D28322229

fbshipit-source-id: 3743cb5f80488f33f1a00b4d0a665cd310f2a784
2021-05-10 08:35:16 -07:00
Kostia Balytskyi
f10ef62cba megarepo: basic version of async-requests crate
Summary:
This crate is a foundation for the async requests support in megarepo service.

The idea is to be able to store serialized parameters in the blobstore upon
request arrival, and to be able to query request results from the blobstore
while polling.

This diff manipulates the following classes of types:
- param types for async methods: self-explanatory
- response types: these contain only a resulting value of a completed successful execution
- stored result types: these contain a result value of a completed execution. It may either be successful or failed. These types exist for the purpose of preserving execution result in the blobstore.
- poll-response types: these contain and option of a response. If the optional value is empty, this means that the request is not yet ready
- polling tokens: these are used by the client to ask about the processing status for a submitted request

Apart from that, some of these types have both Rust and Thrift counterparts, mainly for the purposes of us being able to implement traits for Rust types.

Relationships between these types are encoded in various traits and their associated types.

The lifecycle of an async request is as follows therefore:
1. the request is submitted by the client, and enqueued
   1. params are serialized and saved into a blobstore
   1. an entry is created in the SQL table
   1. the key from that table is used to create a polling token
1. some external system processes a request [completely absent form this diff]
   1. it notices a new entry in the queue
   1. it reads request's params from the blobstore
   1. it processes the request
   1. it preserves either a success of a failure of the request into the blobstore
   1. it updates the SQL table to mention that the request is now ready to be polled
1. the client polls the request
   1. queue struct receives a polling token
   1. out of that token it constructs DB keys
   1. it looks up the request row and checks if it is in the ready state
   1. if that is the case, it reads the result_blobstore_key value and fetches serialized result object
   1. now it has to turn this serialized result into a poll response:
       1. if the result is absent, poll response is a success with an empty payload
       1. if the result is present and successful, poll response is a success with the result's successful variant as  a payload
       1. if the result is present and is a failure, the polling call throws a thrift exception with that failure

Note: Why is there yet another .thrift file introduced in this diff? I felt like these types aren't a part of the scs interface, so they don't belong in `source_control.thrift`. On the other hand, they wrap things defined in `source_control.thrift,` so I needed to include it.

Reviewed By: StanislavGlebik

Differential Revision: D27964822

fbshipit-source-id: fc1a33a799d01c908bbe18a5394eba034b780174
2021-05-10 06:51:37 -07:00
Alex Hornby
cce23856fc mononoke: sample size metadata for all component blobstores
Summary: Log the blobstore id as part of sampled pack info.  This is allows running the walker pack info logging directly agains a multiplex rather than invoke it for one component at a time.

Reviewed By: farnz

Differential Revision: D28264093

fbshipit-source-id: 0502175200190527b7cc1cf3c48b8154c8b27c90
2021-05-10 06:07:59 -07:00
Alex Hornby
a616a72e44 mononoke: add samplingblob variant with BlobstoreId
Summary:
When sampling multiplex stores its interesting to know which component of the store one is sampling.

This adds a new SamplingBlobstorePutOps struct with implements the BlobstorePutOps that multiplex blobstore requires.  Its connected up to blobstore factory in the next diff.

Reviewed By: farnz

Differential Revision: D28264444

fbshipit-source-id: 560de455854b6a6794b969d02046d67d372efd37
2021-05-10 06:07:59 -07:00
svcscm svcscm
488c3a920b Updating submodules
Summary:
GitHub commits:

74978e1927
c690fed78e
d1ed747b99
bedaf2eb59
9359154fea

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c38b59c1142c2a9bf22773879fc6c245b70beaf5
2021-05-10 05:57:46 -07:00
Kostia Balytskyi
0617e3489e move scm/service into eden/mononoke/scs
Reviewed By: ahornby

Differential Revision: D28286267

fbshipit-source-id: 349a2d94eca9cf563ee2bb4076e268917aaa4fd6
2021-05-10 05:53:38 -07:00
Thomas Orozco
b9b5e16dcf mononoke/multiplexedblob: retry is_present in the face of races
Summary: What we're trying to do here is all explained in the inline comments.

Reviewed By: farnz

Differential Revision: D28287486

fbshipit-source-id: 605c5272118b9d0b76f6284f4e81febe4b6f652e
2021-05-10 05:40:06 -07:00
CodemodService Bot
e2a64a3088 Daily common/rust/cargo_from_buck/bin/autocargo
Reviewed By: krallin

Differential Revision: D28319288

fbshipit-source-id: fc879fab6d7c2abd5184ccfbacf2aa2a8f3d8003
2021-05-10 05:06:45 -07:00
svcscm svcscm
c4a9890c3b Updating submodules
Summary:
GitHub commits:

de540c37b9

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 171e188ee6daa611ddbc20b5451b061d875d3306
2021-05-10 04:41:17 -07:00
Thomas Orozco
58f7f50188 revisionstore: include version in user agent
Summary: Right now this is not very useful. Let's make it more useful.

Reviewed By: DurhamG

Differential Revision: D28281653

fbshipit-source-id: ef3d7acb61522549cca397048c841d1afb089b9b
2021-05-10 01:36:14 -07:00
svcscm svcscm
2d633ec52b Updating submodules
Summary:
GitHub commits:

fad3b970f3
e37242ca14
78d99b1fe8
5219820c46

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 4a2d930e7f5c2596df0909323b5b214957602ddc
2021-05-08 17:40:43 -07:00
svcscm svcscm
24495b3acc Updating submodules
Summary:
GitHub commits:

07b5529359
50867396a9
5d936f0dd7
c822073859
63b1af515f
1af66cfe68

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: c5396cd016a85648b2569c63ac8d386278b1e004
2021-05-08 16:48:38 -07:00
svcscm svcscm
913011f8ba Updating submodules
Summary:
GitHub commits:

56eac6a617
b598fb591a
af03544afa
ca21af1e0e
68c66a1928
7f64a55b17
f9e7b14928
fddf1fbb3e
74f6c7caa7

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 9cbadb002f992ed213db070a91e75577bc1877ca
2021-05-08 16:02:54 -07:00
svcscm svcscm
8bbfbf9d99 Updating submodules
Summary:
GitHub commits:

7c9d35af9e
ff5f304457
0393eefe3f
6d7f12f3ae
ade67a9659
a51173908e
74e8902106
32b833b22d
f986a2cb94
63dc562254

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 6d71fe1fb215889a6646e7f227b4337c347d69e1
2021-05-08 15:14:41 -07:00
svcscm svcscm
159a33c0ed Updating submodules
Summary:
GitHub commits:

ba405c6be5
113c57d8c6
c36efb7574
565a4ad1b1

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: b001fb7cccbeadac27c648796b33c8315559529a
2021-05-08 14:43:47 -07:00
svcscm svcscm
aad99493de Updating submodules
Summary:
GitHub commits:

fc28fae8c0
a22c213648
0d7c785107
d684f4b3ab

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: ddd40e6009bfc267590a9c5ef18b0d8676e50369
2021-05-08 02:38:18 -07:00
svcscm svcscm
a53c89b21a Updating submodules
Summary:
GitHub commits:

06acb5dbfc
9dcad573ea
a148cc2d04
d63ab51a60
7f21a26524

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 9d054142e329488dce7f9fa695207117420d7e03
2021-05-08 01:50:27 -07:00
svcscm svcscm
bfc3885adc Updating submodules
Summary:
GitHub commits:

f4d7738198
ad26ecf61d
896fe197c9
27eab142dc
4cd6de59ea

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 45497c6f356c1d74fa8322c263216b59dc2a50c0
2021-05-08 00:56:57 -07:00
svcscm svcscm
4e0de747f7 Updating submodules
Summary:
GitHub commits:

b188616d58
2f38c075a3
15fe21db7e
67a7b3c8cb
ac81805cec
def5384484

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0abedbf1770a4c756bbb5512f720e925dab3a3c3
2021-05-08 00:09:57 -07:00
svcscm svcscm
05704d1eda Updating submodules
Summary:
GitHub commits:

90c3f70cff
bb8bab2df3
4356c1b860
8b4a2dc6f6
bc49837090
85308044d8
1c0b4b3020
139cacd8fa
8b03c992e0

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: a5c8fb37f8db633bedadb7e2d0cff06e2c4749fc
2021-05-07 23:23:08 -07:00
svcscm svcscm
a01d231a28 Updating submodules
Summary:
GitHub commits:

2946f62f34
c09fb195e1
1a8b7d8b17
49f3c82b50
7fe70e0219
75c6a49915
d46082ee98
eaa665a87c
facf4e00b6
df4d8cec86
9a522ab231
e0f29e15aa

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 095d273411f5c6d7bfd1c475ab615371458ecfed
2021-05-07 22:45:53 -07:00
svcscm svcscm
09b63dda52 Updating submodules
Summary:
GitHub commits:

189b263e68
b24643035f
4402f583fd
3ebceef0cb
1dbf6e805e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 7458e24e416a54dda42f6e14cc5915563717b57c
2021-05-07 22:10:50 -07:00
svcscm svcscm
af77d24618 Updating submodules
Summary:
GitHub commits:

3ea3ce7d16
62f000b7ca
934213be09
f4e07634b5

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 7a9927efde0933beca4df3aac27afa8e5bbf7117
2021-05-07 18:31:27 -07:00
svcscm svcscm
ea4c29fb8f Updating submodules
Summary:
GitHub commits:

c2afd41212
4d13cd9eb3

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: bb69eec1ac125ac1fb9952d4eab49ac582ade753
2021-05-07 17:51:00 -07:00
Tianxiang Chen
59e5ae5c66 make Kerberos renewal command suggestions consistent
Summary: Change remediations to use `kdestroy && kinit`

Reviewed By: stepanhruda

Differential Revision: D28295440

fbshipit-source-id: 0e3348b2ad99870d275a84c482be02464b718102
2021-05-07 16:03:23 -07:00
svcscm svcscm
46574a3777 Updating submodules
Summary:
GitHub commits:

d384496260
245c91303b
bf9802cba2
f72236f2ab
4b2e7ac161

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: af62eae29fc36e4552e300f0351840ba61deb70e
2021-05-07 15:15:43 -07:00
svcscm svcscm
52ece4ffb1 Updating submodules
Summary:
GitHub commits:

0e515a5e2f
c26b75baa5
ea2444f3ae
49c73da3eb

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 8cf50d86eafc36bc78bad5eca93fa3cb7964f4a1
2021-05-07 14:40:40 -07:00
Simon Farnsworth
bef3319996 Migrate the Rust Cachelib bindings to CXX
Summary:
These are undermaintained, and need an update for oncall support. Start by moving to CXX, which makes maintenance easier.

In the process, I've fixed a couple of oddities in the API that were either due to the age of the code, or due to misunderstandings propagating through bindgen that CXX blocks, and fixed up the users of those APIs.

Reviewed By: dtolnay

Differential Revision: D28264737

fbshipit-source-id: d18c3fc5bfce280bd69ea2a5205242607ef23f28
2021-05-07 12:24:22 -07:00
Simon Farnsworth
23cbacd701 Remove cachelib setup from segemented_changelog_tailer
Summary:
Because cachelib is not initialised at this point, it returns `None` unconditionally.

I'm refactoring the cachelib bindings so that this returns an error - take it out completely for now, leaving room to add it back in if caching is useful here

Reviewed By: sfilipco

Differential Revision: D28286986

fbshipit-source-id: cd9f43425a9ae8f0eef6fd32b8cd0615db9af5f6
2021-05-07 12:24:22 -07:00
CodemodService Bot
0462f803c0 Daily arc lint --take BLACK
Reviewed By: zertosh

Differential Revision: D28282435

fbshipit-source-id: 26037c582a35a958702b5d9f5c371e19664ba3c6
2021-05-07 05:16:05 -07:00
Thomas Orozco
87ae27b91b mononoke/segmented_changelog_tailer: add scuba args
Summary: This wants to use Scuba so it needs this.

Reviewed By: StanislavGlebik

Differential Revision: D28282511

fbshipit-source-id: 6d3a2b6316084f7e16f5a2f92cfae1d101a9c2d3
2021-05-07 02:07:09 -07:00
svcscm svcscm
abe679917a Updating submodules
Summary:
GitHub commits:

1a6d4312bb
61d256d723
6121fcff36
e0a05a4660

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: dc7cf0966dbc9d10bb38c04622aeec41a4b0f0f1
2021-05-07 01:52:02 -07:00
Jun Wu
9013d18a71 edenapi: debug log registered builder function
Summary:
This makes it easier to see what builder functions were registered:

  % EDENSCM_LOG=edenapi=debug lhg log -r .
  May 06 16:40:29.355 DEBUG edenapi::builder: registered eagerepo::api::edenapi_from_config to edenapi Builder

Reviewed By: DurhamG

Differential Revision: D28271366

fbshipit-source-id: f6c7c3aa9f29c3e47c2449e3d5fc16474aa338b0
2021-05-07 01:00:56 -07:00
svcscm svcscm
83c6164621 Updating submodules
Summary:
GitHub commits:

64ea8b8d9d
ad31a07e39
ea6c2ac185
f59e6d8ef1
53266d1b61
f8aecdf95e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 8d87f6f8c7359397896ea61378aafdd0e7ec88b5
2021-05-07 00:59:26 -07:00
svcscm svcscm
b228f978a5 Updating submodules
Summary:
GitHub commits:

54a106252d
4aa85dbbac
41529c712a
a9a0e90ed2
1d3984e378
3a076b8fae
9d8927477d
131099f9a2
2fb4ab1ce1

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 30632833ab178169af68c4b99fa63a79861e0eff
2021-05-07 00:21:00 -07:00
svcscm svcscm
68895995ce Updating submodules
Summary:
GitHub commits:

262c893ac1
7ed7af7b79
7c11d587d9
946e640114
83922c9258
29a94da71a
b017bdba2c
aac708e2f9
b568a55016
d9909c2037
6d01bb113f
9b7957648e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 03973f2316750d8e5bd3060c5efbd00b90bbd9db
2021-05-06 23:57:40 -07:00
Marc Fisher
9bdd73be2c Add stables template keyword to hg.
Summary:
Adding support for the stables template keyword in stablerev extension.

This keyword calls out to a script specified in the config stablerev.stables_cmd to get a list of stable aliases for a given revision.

Reviewed By: quark-zju

Differential Revision: D28204529

fbshipit-source-id: 3c5b21846ce6f686afddd00d3326a54b85be87dd
2021-05-06 23:52:32 -07:00
svcscm svcscm
a71bb9dd8e Updating submodules
Summary:
GitHub commits:

af6f64e3bb
97e3d72b72

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0fb7007226ff128719f528b8ca7f190786a7d3ba
2021-05-06 23:20:14 -07:00
svcscm svcscm
1005062d9a Updating submodules
Summary:
GitHub commits:

1405f8f716
e58aee0906
0bbc5fb6f9
734dbbe19b
19924f55cc
7c08cc58e5

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 157d355eed7b48b17a1832b0d88eab1491a801c6
2021-05-06 22:09:23 -07:00
Jun Wu
647ee078d0 dag: actually test server1 in test_sparse_dag
Summary:
The server1 was not used after D27629318 (ba7e1c6952) while the test intentionally wants to
exercise graph isomorphism. So let's revive server1 in the test.

Reviewed By: andll

Differential Revision: D28269926

fbshipit-source-id: 0a04031415f559f8a6eb81f1e2f2530329a2a3bc
2021-05-06 21:15:22 -07:00
svcscm svcscm
eb98496061 Updating submodules
Summary:
GitHub commits:

f672e8573a
da8f6d4b03
c4d396c0b7
38ae24c0fe
ca8b179826
63133caba5

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 5d35f32a9b7094377ddec69fcb28760503419f8e
2021-05-06 21:04:50 -07:00