mirror of
https://github.com/ceph/ceph
synced 2025-03-10 02:09:21 +00:00
osd/ReplicatedPG: fix leak of RepGather on watch timeout
new_repop() gives us a ref; we need to release it, just as we do in execute_ctx(). Backport: dumpling Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
1d67e1521c
commit
1c12eefcb5
@ -4980,6 +4980,7 @@ void ReplicatedPG::handle_watch_timeout(WatchRef watch)
|
||||
// obc ref swallowed by repop!
|
||||
issue_repop(repop, repop->ctx->mtime);
|
||||
eval_repop(repop);
|
||||
repop->put();
|
||||
}
|
||||
|
||||
ObjectContextRef ReplicatedPG::create_object_context(const object_info_t& oi,
|
||||
|
Loading…
Reference in New Issue
Block a user