diff --git a/scheduler/Scheduler.cpp b/scheduler/Scheduler.cpp index b96b99af1ab170f523577441d6c7e18a34e57351..056a4a2fbb5e375587cbf839cb4bca440c7dc24e 100644 --- a/scheduler/Scheduler.cpp +++ b/scheduler/Scheduler.cpp @@ -628,7 +628,7 @@ bool Scheduler::getNextMountDryRun(const std::string& logicalLibraryName, const double schedulerDbTime = 0; double catalogueTime = 0; std::unique_ptr<SchedulerDatabase::TapeMountDecisionInfo> mountInfo; - mountInfo = m_db.getMountInfo(lc); + mountInfo = m_db.getMountInfoNoLock(lc); getMountInfoTime = timer.secs(utils::Timer::resetCounter); std::map<tpType, uint32_t> existingMountsSummary; std::set<std::string> tapesInUse;