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

Method GetMaster

phxbinlogsvr/core/agent/agent_manager.cpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40int AgentManager::GetMaster(string *master_ip, uint32_t *update_time, uint32_t *expire_time, uint32_t *version) {
41 return master_agent_->GetMaster(master_ip, update_time, expire_time, version);
42}
43
44int AgentManager::SetExportIP(const string &export_ip, const uint32_t &port) {
45 return master_agent_->SetExportIP(export_ip, port);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected