Skip to content
Snippets Groups Projects
Commit 2fffa4ec authored by Louis Regnier's avatar Louis Regnier
Browse files

FTS-2048: do a staging abort when HTTP staging transfer is cancelled

parent 8e8fb45a
No related branches found
No related tags found
No related merge requests found
Pipeline #8023521 passed with stages
in 5 minutes and 38 seconds
......@@ -20,16 +20,14 @@
#include <string>
#include <set>
#include <unordered_map>
#include <vector>
#include "common/Exceptions.h"
#include "common/Logger.h"
#include "db/generic/SingleDbInstance.h"
#include "server/common/DrainMode.h"
#include "FetchCancelStaging.h"
#include "../task/BringOnlineTask.h"
#include "qos-daemon/task/BringOnlineTask.h"
#include "qos-daemon/task/HttpBringOnlineTask.h"
void FetchCancelStaging::fetch()
......@@ -52,6 +50,7 @@ void FetchCancelStaging::fetch()
if (!urls.empty())
{
BringOnlineTask::cancel(urls);
HttpBringOnlineTask::cancel(urls);
}
}
catch (const std::exception& e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment