Commit a840003e authored by Georgios Bitzes's avatar Georgios Bitzes

MGM: Prevent balancer from freezing instance when on QDB namespace

parent 3abc7294
Pipeline #507715 passed with stages
in 66 minutes 19 seconds
......@@ -185,6 +185,12 @@
break;
}
if(!gOFS->eosView->inMemory()) {
lock.Release();
eos::Prefetcher::prefetchFileMDWithParentsAndWait(gOFS->eosView, fid);
lock.Grab(gOFS->eosViewRWMutex);
}
// check that the target does not have this file
if (gOFS->eosFsView->hasFileId(fid, target_fsid)) {
// Iterate to the next file, we have this file already
......@@ -236,7 +242,6 @@
while (savepath.replace("&", "#AND#")) {}
fullpath = savepath.c_str();
fmd = gOFS->eosFileService->getFileMD(fid);
lid = fmd->getLayoutId();
cid = fmd->getContainerId();
size = fmd->getSize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment