]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: mark REMOVE_SNAPS messages as no_reply 25782/head
authorYan, Zheng <zyan@redhat.com>
Tue, 11 Dec 2018 03:42:20 +0000 (11:42 +0800)
committerPrashant D <pdhange@redhat.com>
Fri, 1 Feb 2019 02:15:16 +0000 (21:15 -0500)
Fixes: http://tracker.ceph.com/issues/37568
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 1e9423ac65469708a6c02f58f3a91a9dca9f16bd)

Conflicts:
src/mon/OSDMonitor.cc : Resolved in preprocess_remove_snap

src/mon/OSDMonitor.cc

index 16a3f7bd638a09d82ebc69bb333f220403967282..1aab4480a1a93681e6023d68dbe932b4c729de01 100644 (file)
@@ -3296,6 +3296,7 @@ bool OSDMonitor::preprocess_remove_snaps(MonOpRequestRef op)
 
   // check privilege, ignore if failed
   MonSession *session = m->get_session();
+  mon->no_reply(op);
   if (!session)
     goto ignore;
   if (!session->caps.is_capable(