Skip to content

Commit

Permalink
[Pfc] Bugfix - always update chunk-request vector for a block after a…
Browse files Browse the repository at this point in the history
…n error.
  • Loading branch information
osschar committed Jun 15, 2022
1 parent bd2949d commit 47156f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdPfc/XrdPfcFile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1359,8 +1359,8 @@ void File::ProcessBlockResponse(Block *b, int res)
b->get_io() << " - reissuing request with my io " << rreq->m_io);

b->reset_error_and_set_io(rreq->m_io, rreq);
b->m_chunk_reqs.swap( creqs_to_keep );
}
b->m_chunk_reqs.swap( creqs_to_keep ); // Note: creqs_to_keep can be empty.

m_state_cond.UnLock();

Expand Down

0 comments on commit 47156f8

Please sign in to comment.