]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
nvmeofgw: beacon diff implementation in the monitor unit tests works and tested...
authorLeonid Chernin <leonidc@il.ibm.com>
Mon, 15 Sep 2025 11:04:04 +0000 (14:04 +0300)
committerLeonid Chernin <leonidc@il.ibm.com>
Wed, 17 Sep 2025 05:51:27 +0000 (08:51 +0300)
commit03bd6db875130089f39417cdf0dda2e5a894b145
tree39695a2a45dadb04247e849e067d3949fdc3c2b3
parentd037f401a7de15a4a87056d8c2c4beda0f6cc0e6
nvmeofgw:  beacon diff implementation in the monitor unit tests works and tested new fields beacons
           coming according to new schema fixes for failover/failback/gw fast-reboot.

           src/messages/MNVMeofGwBeacon.h: add sequence number
   truncate prev_beacon_subsystems on beacon sequence mismatch
   do not process OOO map

Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
12 files changed:
src/CMakeLists.txt
src/messages/MNVMeofGwBeacon.h
src/mon/NVMeofGwSerialize.h
src/mon/NVMeofGwTypes.h
src/msg/Message.cc
src/nvmeof/NVMeofGwMonitorClient.cc
src/nvmeof/NVMeofGwMonitorClient.h
src/nvmeof/NVMeofGwUtils.cc [new file with mode: 0644]
src/nvmeof/NVMeofGwUtils.h [new file with mode: 0644]
src/test/CMakeLists.txt
src/test/test_nvmeof_gw_utils.cc [new file with mode: 0644]
src/test/test_nvmeof_mon_encoding.cc