| 641 | } |
| 642 | |
| 643 | const NodeInfo PNode :: GetMasterWithVersion(const int iGroupIdx, uint64_t & llVersion) |
| 644 | { |
| 645 | if (!CheckGroupID(iGroupIdx)) |
| 646 | { |
| 647 | return NodeInfo(nullnode); |
| 648 | } |
| 649 | |
| 650 | return NodeInfo(m_vecMasterList[iGroupIdx]->GetMasterSM()->GetMasterWithVersion(llVersion)); |
| 651 | } |
| 652 | |
| 653 | const bool PNode :: IsIMMaster(const int iGroupIdx) |
| 654 | { |