Commit 704324e5 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed mix-up between files and bytes when constructing the filesToMigrateListRequest

in ClientProxy.
parent 9670d85d
......@@ -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.setMaxBytes(files);
ftmReq.setMaxFiles(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 FilesToRecallList
// 3a) Handle the FilesToRecallListl
// 3) We expect either a NoMoreFiles response or FilesToMigrateList
// 3a) Handle the FilesToMigrateList
try {
tapegateway::FilesToMigrateList & ftm =
dynamic_cast <tapegateway::FilesToMigrateList &>(*resp);
......
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