sapling/eden/mononoke/blobstore
Thomas Orozco 7ad1561b68 mononoke/fileblob: create tempfiles in blobstore location
Summary:
Right now, fileblob crashes if those two things are on different devices
(because you cannot atomically rename across devices), so you need to make sure
your TMPDIR is on the same volume as your fileblob.

This is kinda annoying and kinda unnecessary. Let's just fix default to putting
the temporary files into the same location as the blobstore.

Note: while the temp files will be in the same directory as the rest of our
blobs, they don't have the `blob-` prefix (their prefix will be `.tmp`), so
they cannot be read by accident as if they were blobs.

Reviewed By: farnz

Differential Revision: D27046889

fbshipit-source-id: c2b47cd6927eef34ac19325f87f446a6f6532eaf
2021-03-15 08:32:59 -07:00
..
blobstore_stats Add blobstore name information to logging 2021-03-02 03:40:54 -08:00
cacheblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
chaosblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
delayblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
factory mononoke: add a way to limit s3 blobstore 2021-03-11 00:55:14 -08:00
fileblob mononoke/fileblob: create tempfiles in blobstore location 2021-03-15 08:32:59 -07:00
if vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
logblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
memblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
multiplexedblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
packblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
prefixblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
readonlyblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
redactedblobstore vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
samplingblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
sqlblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
src Add blobstore name information to logging 2021-03-02 03:40:54 -08:00
test mononoke: remove tokio-compat (i.e. use tokio 0.2 exclusively) 2021-02-22 09:22:42 -08:00
throttledblob vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
virtually_sharded_blobstore vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
Cargo.toml vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00