]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: fix assert crash in `fs swap` 57373/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 May 2024 13:07:28 +0000 (09:07 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 May 2024 13:29:48 +0000 (09:29 -0400)
Paxos is plugged differently between main and reef.

Fixes: f11cf2b6dc5974d0e63d83f50e4e18e828df8e8e
Fixes: https://tracker.ceph.com/issues/65883
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mon/FSCommands.cc

index efac6752467ebafc9e4460de33ee5d6f1bd7f494..6b02fbbaccd2cc45e95077952a19571f415b5fa3 100644 (file)
@@ -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
   {