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
aeee93c0
Commit
aeee93c0
authored
Oct 30, 2014
by
Eric Cano
Browse files
Added pre-open message for disk files to debug issues in production servers.
parent
e267869a
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/daemon/DiskWriteTask.cpp
View file @
aeee93c0
...
...
@@ -75,9 +75,10 @@ bool DiskWriteTask::execute(RecallReportPacker& reporter,log::LogContext& lc,
// If we got that far on the first pass, it's now good enough to open
// the disk file for writing...
if
(
!
writeFile
.
get
())
{
lc
.
log
(
LOG_INFO
,
"About to open disk file for writing"
);
writeFile
.
reset
(
fileFactory
.
createWriteFile
(
m_recallingFile
->
path
()));
URLcontext
.
add
(
"actualURL"
,
writeFile
->
URL
());
lc
.
log
(
LOG_INFO
,
"Opened disk file for writ
e
"
);
lc
.
log
(
LOG_INFO
,
"Opened disk file for writ
ing
"
);
m_stats
.
openingTime
+=
localTime
.
secs
(
castor
::
utils
::
Timer
::
resetCounter
);
}
...
...
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