]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #61538 from leonidc/fix-duplicated-optimized
authorleonidc <lechernin@gmail.com>
Sun, 2 Feb 2025 14:05:02 +0000 (16:05 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Feb 2025 14:05:02 +0000 (16:05 +0200)
nvmeofgw* : fix duplicated optimized host's pathes

1  2 
src/mon/NVMeofGwMon.cc

index e69a9d3b8661840dfc62a96b01dee36aecd99b08,0d735a5145ca3143ebd3b6f1832d8616ac835e53..95360a51ec519e688b2bc1b592e2534bcb3b4c38
@@@ -550,10 -550,10 +550,10 @@@ bool NVMeofGwMon::prepare_beacon(MonOpR
               << dendl;
        if (pending_map.created_gws[group_key][gw_id].availability ==
          gw_availability_t::GW_AVAILABLE) {
 -      dout(4) << " Warning :GW marked as Available in the NVmeofGwMon "
 +      dout(1) << " Warning :GW marked as Available in the NVmeofGwMon "
                << "database, performed full startup - Apply GW!"
                << gw_id << dendl;
-        pending_map.handle_gw_performing_fast_reboot(gw_id, group_key, propose);
+        process_gw_down(gw_id, group_key, propose, avail);
         LastBeacon lb = {gw_id, group_key};
         last_beacon[lb] = now; //Update last beacon
        } else if (