]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
nvmeofgw: prevent map corruption while processing beacons from deleted gws 65563/head
authorLeonid Chernin <leonidc@il.ibm.com>
Mon, 8 Dec 2025 20:54:44 +0000 (22:54 +0200)
committerLeonid Chernin <leonidc@il.ibm.com>
Thu, 11 Dec 2025 17:50:59 +0000 (19:50 +0200)
commit3636dc3598b7022bff623d686cbee83ed288d966
treecdf329e46ce5f8ffec6439687e40c97449f20d9c
parente55ad7bce2fb85096cd31ff9846403f9dbd01e85
nvmeofgw: prevent map corruption while processing beacons from deleted gws

Fix race issue of map corruption when deleted gw sends beacons
but this gw data was removed from pending map and still exists in map.
Process beacons only if GW's data exists in both maps:
main-map and pending-map, otherwise just ignore beacons.

fixes: https://tracker.ceph.com/issues/74160

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