crimson/osd: verbose logging in OSD::_send_alive()

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-09-16 15:13:00 +08:00
parent e487604ad2
commit 88df1e0318

View File

@ -374,8 +374,10 @@ seastar::future<> OSD::_send_alive()
want,
up_thru_wanted);
if (!osdmap->exists(whoami)) {
logger().warn("{} DNE", __func__);
return seastar::now();
} else if (want <= up_thru_wanted){
} else if (want <= up_thru_wanted) {
logger().debug("{} {} <= {}", __func__, want, up_thru_wanted);
return seastar::now();
} else {
up_thru_wanted = want;