]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/osd: update heartbeat peers after committing osdmaps 58136/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 3 Jul 2024 14:00:49 +0000 (22:00 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Thu, 15 Aug 2024 03:05:43 +0000 (11:05 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/osd.cc

index 18a3afd676fb1be437e74df70230b07556def6fa..74e481da86f7d480168eaf1869d8011b5221634d 100644 (file)
@@ -1185,7 +1185,9 @@ seastar::future<> OSD::committed_osd_maps(
        return seastar::now();
       }
     }
-    return fut.then([FNAME, this] {
+    return fut.then([this] {
+      return update_heartbeat_peers();
+    }).then([FNAME, this] {
       return check_osdmap_features().then([FNAME, this] {
         // yay!
         INFO("osd.{}: committed_osd_maps: broadcasting osdmaps up"