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

Method accept_timeout

src/mon/Paxos.cc:822–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822void Paxos::accept_timeout()
823{
824 dout(1) << "accept timeout, calling fresh election" << dendl;
825 accept_timeout_event = 0;
826 ceph_assert(mon.is_leader());
827 ceph_assert(is_updating() || is_updating_previous() || is_writing() ||
828 is_writing_previous());
829 logger->inc(l_paxos_accept_timeout);
830 mon.bootstrap();
831}
832
833struct C_Committed : public Context {
834 Paxos *paxos;

Callers

nothing calls this directly

Calls 3

is_leaderMethod · 0.45
incMethod · 0.45
bootstrapMethod · 0.45

Tested by

no test coverage detected