git-lfs/tq
Marat Radchenko 01bc6a687e Do not fail when multiple processes download the same lfs file
When several git-lfs processes use the same LFS storage simultaneously,
there's a race condition between checking whether LFS file exists and renaming temporary
file to final name in LFS storage. When rename fails, check that target file exists.
If it does, pretend that download has finished successfully.

Fixes #2825
2019-09-10 13:05:28 +03:00
..
schemas tq,lfsapi/ssh: convert int64 to int 2017-04-05 14:46:45 -06:00
adapterbase.go tq/adapterbase: fix typo enableHrefRerite to enableHrefRewrite 2019-04-04 11:04:00 +09:00
api_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
api.go Don't fail if we lack objects the server has 2019-07-15 20:47:04 +00:00
basic_download.go Do not fail when multiple processes download the same lfs file 2019-09-10 13:05:28 +03:00
basic_upload.go tq: avoid nil pointer dereference on unexpected failure 2019-02-20 14:47:35 +00:00
custom_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
custom.go Provide support for file URLs via a transfer agent 2019-08-02 17:23:47 +00:00
errors_test.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
errors.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
manifest_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
manifest.go Provide support for file URLs via a transfer agent 2019-08-02 17:23:47 +00:00
meter.go Use proper repo permissions when creating directories 2018-12-13 17:51:02 +00:00
transfer_queue_test.go tq: add fs.Filesystem to tq.Manifest 2017-10-25 12:25:06 -06:00
transfer_queue.go Avoid deadlock when transfer queue fails 2019-09-09 17:06:59 +00:00
transfer_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
transfer.go Don't fail if we lack objects the server has 2019-07-15 20:47:04 +00:00
tus_upload.go NON-ISSUE Update deprecated SEEK_SET, SEEK_CUR usage. 2019-07-27 12:48:42 +09:00
verify_test.go tq: use correct access 2018-09-28 14:16:55 -07:00
verify.go tq: ensure we pass the correct Accept header in verify requests 2019-05-22 21:01:54 +00:00