Commit 4d1c16e8 authored by Cedric Caffy's avatar Cedric Caffy
Browse files

[objectstore] Fixed the status changing of the successful archive jobs in...

[objectstore] Fixed the status changing of the successful archive jobs in ArchiveRequest::asyncUpdateTransferSuccessful()
parent 4ca4257a
......@@ -717,7 +717,7 @@ ArchiveRequest::AsyncTransferSuccessfulUpdater * ArchiveRequest::asyncUpdateTran
}
}
} else { // Repack case, the report policy is different (report all jobs). So we just change the job's status.
for (auto j: *payload.mutable_jobs()) {
for (auto & j: *payload.mutable_jobs()) {
if (j.copynb() == copyNumber) {
ArchiveRequest::RepackInfoSerDeser serDeser;
serDeser.deserialize(payload.repack_info());
......
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