]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson: Create the shared promise before waited upon 62760/head
authorMohit Agrawal <moagrawa@redhat.com>
Mon, 14 Apr 2025 12:51:08 +0000 (18:21 +0530)
committerMohit Agrawal <moagrawa@redhat.com>
Sun, 27 Apr 2025 11:40:29 +0000 (17:10 +0530)
commit435f065a13c661c4f2439dee340a786ca4b5f31e
tree231ce5a60ed0b4796a1e31d537ba934ace2eaf7a
parent7a2fecff1d27fc56b2121c9e098cc16b03328af7
crimson: Create the shared promise before waited upon

RecoveryBackend::pushes map creates each shared_promise
in wait_for_pushes call. There can be a situation where
set_pushed is called due to handled push reply (handle_push_reply)
before the shared_promise was even constructed due to backfill progress
is stuck.

Fixes: https://tracker.ceph.com/issues/70502
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
src/crimson/osd/recovery_backend.h
src/crimson/osd/replicated_recovery_backend.cc