Commit 4f5e9ed5 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed missing translations from new state changes to old ad-hoc messages in TapeserverProxyZmq.

parent 159f623b
......@@ -66,9 +66,16 @@ void castor::messages::TapeserverProxyZmq::reportState(const cta::tape::session:
} else if ((type == cta::tape::session::SessionType::Retrieve)
&& (state == cta::tape::session::SessionState::Mounting)) {
gotRetrieveJobFromCTA(vid, m_driveName);
} else if ((type == cta::tape::session::SessionType::Archive)
&& (state == cta::tape::session::SessionState::Running)) {
tapeMountedForMigration(vid, m_driveName);
} else if ((type == cta::tape::session::SessionType::Retrieve)
&& (state == cta::tape::session::SessionState::Mounting)) {
gotRetrieveJobFromCTA(vid, m_driveName);
&& (state == cta::tape::session::SessionState::Running)) {
tapeMountedForRecall(vid, m_driveName);
} else if (state == cta::tape::session::SessionState::Unmounting) {
tapeUnmountStarted(vid, m_driveName);
} else if (state == cta::tape::session::SessionState::Shutdown) {
tapeUnmounted(vid, m_driveName);
} else {
std::stringstream err;
err << "In castor::messages::TapeserverProxyZmq::reportState(): "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment