Skip to content

Commit b480ac9

Browse files
committed
crimson/osd/osd: update heartbeat peers after committing osdmaps
Signed-off-by: Xuehan Xu <[email protected]>
1 parent 71d38e4 commit b480ac9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/crimson/osd/osd.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,9 @@ seastar::future<> OSD::committed_osd_maps(
11851185
return seastar::now();
11861186
}
11871187
}
1188-
return fut.then([FNAME, this] {
1188+
return fut.then([this] {
1189+
return update_heartbeat_peers();
1190+
}).then([FNAME, this] {
11891191
return check_osdmap_features().then([FNAME, this] {
11901192
// yay!
11911193
INFO("osd.{}: committed_osd_maps: broadcasting osdmaps up"

0 commit comments

Comments
 (0)