]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/pg: make sure ops are sent to backfill targets if and only if the
authorXuehan Xu <xuxuehan@qianxin.com>
Mon, 28 Oct 2024 08:41:16 +0000 (16:41 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Mon, 28 Oct 2024 13:19:44 +0000 (21:19 +0800)
commit63b9de4a3a744eedb090d919a27fb8e074d36436
tree1cbe03b77d1657d180fa9401998c767e1985d2b6
parentf2a7ed4952c8591a5c407c1e58850a7d41776825
crimson/osd/pg: make sure ops are sent to backfill targets if and only if the
object has been pushed.

In crimson, the increase of BackfillState::last_backfill_started may happen
after a client request's "recover_missing" phase, but the actual object push
may be blocked by the client requests' later handling, in which case we must
check whether the object is pushed to the backfill target precisely when
determining whether to send the client request to the backfill target.

Fixes: https://tracker.ceph.com/issues/68661
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/pg.cc