]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix debug spacing
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 14 Jul 2021 20:23:47 +0000 (13:23 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 29 Jul 2021 15:50:15 +0000 (08:50 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 147c27c033005f311c7fdce0b80b57f2de47674e)

Conflicts:
src/mon/PaxosService.cc: add dout msg

src/mon/PaxosService.cc

index dc994e194eb7347807924d0a7dec1cc90f3e2f70..6b090eb661ac66b79c93a75abc245671db0bef5e 100644 (file)
@@ -373,8 +373,11 @@ void PaxosService::maybe_trim()
     return;
 
   version_t trim_to = get_trim_to();
-  if (trim_to < get_first_committed())
+  if (trim_to < get_first_committed()) {
+    dout(10) << __func__ << " trim_to " << trim_to << " < first_committed "
+            << get_first_committed() << dendl;
     return;
+  }
 
   version_t to_remove = trim_to - get_first_committed();
   const version_t trim_min = g_conf().get_val<version_t>("paxos_service_trim_min");