]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/OSD: add log line on mapgaps
authorMatan Breizman <mbreizma@redhat.com>
Wed, 30 Aug 2023 08:17:06 +0000 (08:17 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sun, 10 Sep 2023 14:39:56 +0000 (14:39 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/osd/OSD.cc

index 1fd6b8eec3a82dfa09c471cf1a139faa327eea6c..d7b60e79cf8200a914119e132fce383f430dc06f 100644 (file)
@@ -8199,6 +8199,9 @@ void OSD::handle_osd_map(MOSDMap *m)
     pg_num_history.prune(superblock.get_oldest_map());
   }
   superblock.insert_osdmap_epochs(first, last);
+  if (superblock.maps.num_intervals() > 1) {
+    dout(10) << __func__ << " osd map gap " << superblock.maps << dendl;
+  }
   superblock.current_epoch = last;
 
   // note in the superblock that we were clean thru the prior epoch