From beae13168d82297bbeda6ab5f63e290510b6b8d2 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 9 May 2024 09:07:28 -0400 Subject: [PATCH] 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 --- src/mon/FSCommands.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mon/FSCommands.cc b/src/mon/FSCommands.cc index efac6752467eb..6b02fbbaccd2c 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 { -- 2.39.5