]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/LogMonitor.cc
update sources to 12.2.7
[ceph.git] / ceph / src / mon / LogMonitor.cc
index 178f78589df5fb80c74becba716dd72b6f976689..d4fa0dbe3e5de0cde932ee7899e9bd643c4f5798 100644 (file)
@@ -314,6 +314,7 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op)
   return false;
 
  done:
+  mon->no_reply(op);
   return true;
 }
 
@@ -647,7 +648,7 @@ void LogMonitor::_create_sub_incremental(MLog *mlog, int level, version_t sv)
   }
 
   version_t summary_ver = summary.version;
-  while (sv <= summary_ver) {
+  while (sv && sv <= summary_ver) {
     bufferlist bl;
     int err = get_version(sv, bl);
     assert(err == 0);