]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
nvmeofgw: fix sending acks during upgrade 64258/head
authorLeonid Chernin <leonidc@il.ibm.com>
Thu, 5 Jun 2025 07:59:03 +0000 (10:59 +0300)
committerLeonid Chernin <leonidc@il.ibm.com>
Mon, 30 Jun 2025 08:11:16 +0000 (11:11 +0300)
commit58d66e48f24b8ef4c8caae5d0360069cd7a85fe7
tree2bf0d52cda9023ceca65a8ba56c77cac3e0fcc75
parent85cc16fb67fedc3734548574f5fca2337a42c07e
nvmeofgw: fix sending acks during upgrade
          fix gw-epoch during upgrade
          1.fixed issue  when during upgrade before feature NVMEOFHAMAP is
          applyed, monitor did not send acks to beacon - this cause
          expiration GW mon-client beacon ack timeout and assert of the GW.
          2. fixed issue that during upgrade new GW epoch, generated
  after applying of new feature NVMEOFHAMAP was less than
  global epoch. So GW mon-client asserted on receiving new epoch
          that is less than its last received epoch

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
(cherry picked from commit 3042c3695cbdbc75bad1d3564e887f1b1ad77ef6)
src/mon/NVMeofGwMap.cc
src/mon/NVMeofGwMon.cc