]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cancel Blocklist_cmpl timer when expired
authorLeonid Chernin <leonidc@il.ibm.com>
Wed, 12 Feb 2025 16:17:49 +0000 (18:17 +0200)
committerAlexander Indenbaum <aindenba@redhat.com>
Wed, 19 Nov 2025 18:41:52 +0000 (20:41 +0200)
Resolves: rhbz#2345170

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
src/mon/NVMeofGwMap.cc

index 068258289af81da8d8167591fced8e912be70708..220014c54e6d5d0c45006a8a8d030682efa061c8 100755 (executable)
@@ -851,6 +851,8 @@ void NVMeofGwMap::fsm_handle_to_expired(
            << "from GW, Force exit the GW " << gw_id
            << " ANA groupId: "<< grpid << dendl;
     fbp_gw_state.set_unavailable_state();
+    fbp_gw_state.sm_state[grpid] = gw_states_per_group_t::GW_STANDBY_STATE;
+    cancel_timer(gw_id, group_key, grpid);
     map_modified = true;
   }
   if (map_modified) validate_gw_map(group_key);