MCPcopy Create free account
hub / github.com/ceph/ceph / _booted

Method _booted

src/mon/OSDMonitor.cc:3805–3818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3803}
3804
3805void OSDMonitor::_booted(MonOpRequestRef op, bool logit)
3806{
3807 op->mark_osdmon_event(__func__);
3808 auto m = op->get_req<MOSDBoot>();
3809 dout(7) << "_booted " << m->get_orig_source_inst()
3810 << " w " << m->sb.weight << " from " << m->sb.current_epoch << dendl;
3811
3812 if (logit) {
3813 mon.clog->info() << m->get_source() << " " << m->get_orig_source_addrs()
3814 << " boot";
3815 }
3816
3817 send_latest(op, m->sb.current_epoch+1);
3818}
3819
3820
3821// -------------

Callers 1

_finishMethod · 0.80

Calls 5

mark_osdmon_eventMethod · 0.80
get_orig_source_addrsMethod · 0.80
get_orig_source_instMethod · 0.45
infoMethod · 0.45
get_sourceMethod · 0.45

Tested by

no test coverage detected