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

Method SetSeenInstanceID

src/algorithm/learner.cpp:199–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void Learner :: SetSeenInstanceID(const uint64_t llInstanceID, const nodeid_t llFromNodeID)
200{
201 if (llInstanceID > m_llHighestSeenInstanceID)
202 {
203 m_llHighestSeenInstanceID = llInstanceID;
204 m_iHighestSeenInstanceID_FromNodeID = llFromNodeID;
205 }
206}
207
208//////////////////////////////////////////////////////////////
209

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected