mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
osd/ReplicatedPG: fix leak of RepGather on large-object COPY_FROM
new_repop() gives us a ref; we need to release it, just as we do in execute_ctx(). Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
b0fee96078
commit
1d67e1521c
@ -4260,6 +4260,7 @@ void ReplicatedPG::process_copy_chunk(hobject_t oid, tid_t tid, int r)
|
||||
|
||||
issue_repop(repop, repop->ctx->mtime);
|
||||
eval_repop(repop);
|
||||
repop->put();
|
||||
|
||||
dout(10) << __func__ << " fetching more" << dendl;
|
||||
_copy_some(ctx, cop);
|
||||
|
Loading…
Reference in New Issue
Block a user