No need to futz with last_mon_report or resend it again later.
Signed-off-by: Sage Weil <sage@redhat.com>
last_mon_report = now;
// do any pending reports
- send_alive();
service.send_pg_temp();
send_failures();
send_pg_stats(now);
send_alive();
service.send_pg_temp();
send_failures();
- send_pg_stats(ceph_clock_now(cct));
+ send_pg_stats(now);
monc->sub_want("osd_pg_creates", 0, CEPH_SUBSCRIBE_ONETIME);
monc->sub_want("osdmap", osdmap->get_epoch(), CEPH_SUBSCRIBE_ONETIME);
<< ", currently " << cur
<< dendl;
up_thru_wanted = want;
-
- // expedite, a bit. WARNING this will somewhat delay other mon queries.
- last_mon_report = ceph_clock_now(cct);
send_alive();
} else {
dout(10) << "queue_want_up_thru want " << want << " <= queued " << up_thru_wanted