MCPcopy Create free account
hub / github.com/Tencent/phxsql / GetMaster

Method GetMaster

phxbinlogsvr/core/agent/agent.cpp:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102int PhxBinLogAgent::GetMaster(string *master_ip, uint32_t *update_time, uint32_t *expire_time, uint32_t *version) {
103 return agent_manager_->GetMaster(master_ip, update_time, expire_time, version);
104}
105
106int PhxBinLogAgent::SetHeartBeat(const uint32_t &flag) {
107 return agent_manager_->SetHeartBeat(flag);

Callers 5

GetPendingReplicaPwdMethod · 0.45
CheckMySqlUserInfoMethod · 0.45
CheckAdminPermissionMethod · 0.45
GetMasterInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected