]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: plug paxos when maybe manipulating the osdmap 52983/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 5 Apr 2023 20:30:48 +0000 (16:30 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 14 Aug 2023 14:32:41 +0000 (10:32 -0400)
commit6359c566357fff1e4f7209b6d48fa44be46701cb
treec61a6402000c35dd4fc39698a3eae36731e55f1d
parent4975ff05332b1756bb83f8f6b38cac4c0fd6c121
mon/MDSMonitor: plug paxos when maybe manipulating the osdmap

Instead of tracking where exactly we're plugging PAXOS, just do it
unconditionally whenever we modify pending and may change the osdmap.
There is no downside to doing so; it simplifies the code.

Fixes: https://tracker.ceph.com/issues/59314
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 885005ba647019053016b1de196d83e23b9efb2b)
src/mon/FSCommands.cc
src/mon/FSCommands.h
src/mon/MDSMonitor.cc