MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / OnNewValueCommitTimeout

Method OnNewValueCommitTimeout

src/algorithm/instance.cpp:357–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void Instance :: OnNewValueCommitTimeout()
358{
359 BP->GetInstanceBP()->OnNewValueCommitTimeout();
360
361 m_oProposer.ExitPrepare();
362 m_oProposer.ExitAccept();
363
364 m_oCommitCtx.SetResult(PaxosTryCommitRet_Timeout, m_oProposer.GetInstanceID(), "");
365}
366
367//////////////////////////////////////////////////////////////////////
368

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected