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
704324e5
Commit
704324e5
authored
Apr 30, 2014
by
Eric Cano
Browse files
Fixed mix-up between files and bytes when constructing the filesToMigrateListRequest
in ClientProxy.
parent
9670d85d
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/tape/tapeserver/client/ClientProxy.cpp
View file @
704324e5
...
...
@@ -222,13 +222,13 @@ uint64_t files, uint64_t bytes, RequestReport& report)
report
.
transactionId
=
++
m_transactionId
;
ftmReq
.
setMountTransactionId
(
m_request
.
volReqId
);
ftmReq
.
setAggregatorTransactionId
(
report
.
transactionId
);
ftmReq
.
setMax
Byt
es
(
files
);
ftmReq
.
setMax
Fil
es
(
files
);
ftmReq
.
setMaxBytes
(
bytes
);
// 2) Exchange messages with the server
std
::
auto_ptr
<
tapegateway
::
GatewayMessage
>
resp
(
requestResponseSession
(
ftmReq
,
report
));
// 3) We expect either a NoMoreFiles response or FilesTo
Recall
List
// 3a) Handle the FilesTo
Recall
List
l
// 3) We expect either a NoMoreFiles response or FilesTo
Migrate
List
// 3a) Handle the FilesTo
Migrate
List
try
{
tapegateway
::
FilesToMigrateList
&
ftm
=
dynamic_cast
<
tapegateway
::
FilesToMigrateList
&>
(
*
resp
);
...
...
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