]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: mark REMOVE_SNAPS messages as no_reply 25779/head
authorYan, Zheng <zyan@redhat.com>
Tue, 11 Dec 2018 03:42:20 +0000 (11:42 +0800)
committerPrashant D <pdhange@redhat.com>
Thu, 3 Jan 2019 23:08:45 +0000 (18:08 -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 8376a40668515147de23329a842182d8cd261697..cb44c917da0e1494ee6a1120c146662ce7e3f0cc 100644 (file)
@@ -3064,6 +3064,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(