mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
Abort multipart upload faster.
This commit is contained in:
parent
2de455367a
commit
1a680b0092
@ -338,6 +338,9 @@ namespace
|
||||
|
||||
void processUploadTask(UploadPartTask & task)
|
||||
{
|
||||
if (multipart_upload_aborted)
|
||||
return; /// Already aborted.
|
||||
|
||||
auto tag = processUploadPartRequest(*task.req);
|
||||
|
||||
std::lock_guard lock(bg_tasks_mutex); /// Protect bg_tasks from race
|
||||
|
Loading…
Reference in New Issue
Block a user