Skip to content
Snippets Groups Projects
Commit 10e53f37 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed retrieve requests not starting on age criteria.

parent 34a64555
Branches
Tags
No related merge requests found
......@@ -481,7 +481,7 @@ std::unique_ptr<TapeMount> Scheduler::getNextMount(const std::string &logicalLib
mountPassesACriteria = true;
if (m->filesQueued / (1 + effectiveExistingMounts) >= m_minFilesToWarrantAMount)
mountPassesACriteria = true;
if (!existingMounts && ((time(NULL) - m->oldestJobStartTime) > m->minArchiveRequestAge))
if (!effectiveExistingMounts && ((time(NULL) - m->oldestJobStartTime) > m->minArchiveRequestAge))
mountPassesACriteria = true;
if (!mountPassesACriteria || existingMounts >= m->maxDrivesAllowed) {
log::ScopedParamContainer params(lc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment