]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: only unblock wait_for_active_blocker on replica when ACTIVE 69020/head
authorKefu Chai <k.chai@proxmox.com>
Wed, 20 May 2026 04:03:12 +0000 (12:03 +0800)
committerKefu Chai <k.chai@proxmox.com>
Wed, 20 May 2026 11:37:04 +0000 (19:37 +0800)
commit3992ec54af3af8e0c33e50cddafa26432058ad1e
tree4ddba0890bd66d0cff37d1abe430177714ec8b9c
parent4d15f1ce0650d41c7291d2e843751b4fe3854869
crimson/osd: only unblock wait_for_active_blocker on replica when ACTIVE

ReplicaActive::react(ActivateCommitted) sets ACTIVE or PEERED before
calling on_activate_committed().  Without a guard, an unconditional
unblock() on the PEERED path resets the promise, causing ops that
arrive afterward to park indefinitely (until the next on_change()).

The primary already has this guard in on_activate_complete(); mirror it
on the replica side.

See-also: 2389c32d517e
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/crimson/osd/pg.h