From: leonidc Date: Mon, 2 Feb 2026 17:34:31 +0000 (+0200) Subject: Merge branch 'tentacle' into wip-74692-tentacle X-Git-Tag: testing/wip-jcollin-testing-20260212.143545-tentacle~17^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=724b09262bb7d39b04d1aca06d73e516b30f747a;p=ceph-ci.git Merge branch 'tentacle' into wip-74692-tentacle Signed-off-by: leonidc --- 724b09262bb7d39b04d1aca06d73e516b30f747a diff --cc src/mon/NVMeofGwMon.cc index 687cc450db3,84becd7d1da..3c80fcec84e --- a/src/mon/NVMeofGwMon.cc +++ b/src/mon/NVMeofGwMon.cc @@@ -683,9 -846,8 +855,9 @@@ bool NVMeofGwMon::prepare_beacon(MonOpR bool apply_ack_logic = true; bool send_ack = false; + check_beacon_timeout(now, gw_propose); if (avail == gw_availability_t::GW_CREATED) { - if (gw == group_gws.end()) { + if (!gw_exists) { gw_created = false; dout(10) << "Warning: GW " << gw_id << " group_key " << group_key << " was not found in the map.created_gws " diff --cc src/mon/NVMeofGwMon.h index 16ca9e568fc,7055b7d14f3..e75b00e1950 --- a/src/mon/NVMeofGwMon.h +++ b/src/mon/NVMeofGwMon.h @@@ -107,8 -107,6 +107,9 @@@ private void do_send_map_ack(MonOpRequestRef op, bool gw_created, bool gw_propose, uint64_t stored_sequence, bool is_correct_sequence, const NvmeGroupKey& group_key, const NvmeGwId &gw_id); + void check_beacon_timeout(ceph::coarse_mono_clock::time_point now, + bool &propose_pending); ++ }; #endif /* MON_NVMEGWMONITOR_H_ */