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

Method ShowMembership

src/node/pnode.cpp:616–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614}
615
616int PNode :: ShowMembership(const int iGroupIdx, NodeInfoList & vecNodeInfoList)
617{
618 if (!CheckGroupID(iGroupIdx))
619 {
620 return Paxos_GroupIdxWrong;
621 }
622
623 SystemVSM * poSystemVSM = m_vecGroupList[iGroupIdx]->GetConfig()->GetSystemVSM();
624
625 uint64_t llVersion = 0;
626 poSystemVSM->GetMembership(vecNodeInfoList, llVersion);
627
628 return 0;
629}
630
631//////////////////////////////////////////////////////////////////////////////
632

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected