diff --git a/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp b/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp index 3309d1d5011a11e72b09c6ba1a1958f8b40c1c1e..5e897e85d296d2082c0db3b551afb8bb617f7705 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp @@ -175,6 +175,13 @@ protected: /** Time beetwen fineshed tape thread and finished disk threads */ const double drainingTime = deliveryTime > totalTime?deliveryTime-totalTime: 0.0; + bool wasTapeMounted = true; + if(m_stats.mountTime == 0.0){ + //Tape was not mounted, we add a message to tell that no physical mount has been + //triggered + wasTapeMounted = false; + } + paramList.push_back(Param("wasTapeMounted",wasTapeMounted)); paramList.push_back(Param("mountTime", m_stats.mountTime)); paramList.push_back(Param("positionTime", m_stats.positionTime)); paramList.push_back(Param("waitInstructionsTime", m_stats.waitInstructionsTime));