diff --git a/scheduler/OStoreDB/OStoreDB.cpp b/scheduler/OStoreDB/OStoreDB.cpp index 318939fdb38eac19831c0b8489b044d16d418f0c..22ac43e322b036e09770f90eedd889326f609822 100644 --- a/scheduler/OStoreDB/OStoreDB.cpp +++ b/scheduler/OStoreDB/OStoreDB.cpp @@ -1828,6 +1828,12 @@ std::list<std::unique_ptr<SchedulerDatabase::ArchiveJob> > OStoreDB::ArchiveMoun .add("queueObject", aq.getAddressIfSet()) .add("Message", ex.getMessageValue()); logContext.log(log::INFO, "In ArchiveMount::getNextJobBatch(): could not de-referenced missing queue from root entry"); + } catch (RootEntry::NoSuchArchiveQueue & ex) { + // Somebody removed the queue in the mean time. Barely worth mentioning. + log::ScopedParamContainer params(logContext); + params.add("tapepool", mountInfo.tapePool) + .add("queueObject", aq.getAddressIfSet()); + logContext.log(log::DEBUG, "In ArchiveMount::getNextJobBatch(): could not de-referenced missing queue from root entry: already done."); } emptyQueueCleanupTime += t.secs(utils::Timer::resetCounter); continue;