From: Patrick Donnelly Date: Thu, 9 May 2024 13:07:28 +0000 (-0400) Subject: mon/MDSMonitor: fix assert crash in `fs swap` X-Git-Tag: v18.2.5~670^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57373%2Fhead;p=ceph.git mon/MDSMonitor: fix assert crash in `fs swap` Paxos is plugged differently between main and reef. Fixes: f11cf2b6dc5974d0e63d83f50e4e18e828df8e8e Fixes: https://tracker.ceph.com/issues/65883 Signed-off-by: Patrick Donnelly --- diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index efac6752467e..6b02fbbaccd2 100644 --- a/src/mon/FSCommands.cc +++ b/src/mon/FSCommands.cc @@ -1298,6 +1298,10 @@ class SwapFilesystemHandler : public FileSystemCommandHandler { } + bool batched_propose() override { + return true; + } + int handle(Monitor *mon, FSMap& fsmap, MonOpRequestRef op, const cmdmap_t& cmdmap, std::ostream &ss) override {