Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
0d33113f
Commit
0d33113f
authored
Dec 02, 2014
by
Eric Cano
Browse files
Fixed tape log session summary when we reach end of tape: it is a success.
parent
80d2fa4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/daemon/MigrationReportPacker.cpp
View file @
0d33113f
...
...
@@ -303,7 +303,8 @@ void MigrationReportPacker::ReportEndofSessionWithErrors::execute(MigrationRepor
reportPacker
.
m_lc
.
log
(
LOG_INFO
,
msg
);
}
if
(
reportPacker
.
m_watchdog
)
{
reportPacker
.
m_watchdog
->
addParameter
(
log
::
Param
(
"status"
,
"failure"
));
reportPacker
.
m_watchdog
->
addParameter
(
log
::
Param
(
"status"
,
ENOSPC
==
m_errorCode
?
"success"
:
"failure"
));
// We have a race condition here between the processing of this message by
// the initial process and the printing of the end-of-session log, triggered
// by the end our process. To delay the latter, we sleep half a second here.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment