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

Method StartCommit

src/algorithm/commitctx.cpp:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void CommitCtx :: StartCommit(const uint64_t llInstanceID)
70{
71 m_oSerialLock.Lock();
72 m_llInstanceID = llInstanceID;
73 m_oSerialLock.UnLock();
74}
75
76bool CommitCtx :: IsMyCommit(const uint64_t llInstanceID, const std::string & sLearnValue, SMCtx *& poSMCtx)
77{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected