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

Fixed retrieve requests not starting on age criteria.

parent b55ace27
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment