sapling/eden
Jan Mazur c3cf284765 add hostname of the server that generated URI to URIs returned in response to batch endpoint
Summary:
This shows how basic interaction with LFS server works (it's git-lfs protocol pretty much): https://www.internalfb.com/intern/wiki/Source_Control/Mononoke/Production/LFS_Server/#sending-requests-to-lfs

Pretty much client asks: "Hey, where can I get objects (a,b,c,d)?"
Server responds with urls where objects can be fetched from.
Those urls are for LFS server again.
When client eventually fetches the objects, we would like to know which server (particularly which region) generated the URLs for it.
In order to do that I'm adding hostname of the server that respond to /batch endpoint in http query param. We'll be able to log it to scuba in /download and /upload endpoints.

Differential Revision: D46964214

fbshipit-source-id: aa6b3594391a66b9bd931fb393cf5d672fbac4d8
2023-06-30 06:03:09 -07:00
..
fs Patch dachshund to work with Rust 1.71 2023-06-29 03:50:11 -07:00
integration Fix use-after-move issue in RocketClientChannel 2023-06-27 20:10:08 -07:00
locale
mononoke add hostname of the server that generated URI to URIs returned in response to batch endpoint 2023-06-30 06:03:09 -07:00
scm Reviewed By: sggutier 2023-06-29 08:48:14 -07:00
test_support tests: make Windows tests use buck-built hg 2023-06-27 13:11:01 -07:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib Migrate "eden/testlib" from LLVM-12 to LLVM-15 2023-06-17 22:06:53 -07:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml