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

Method CheckCheckPointFiles

phxbinlogsvr/core/monitor/agent_monitor.cpp:381–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void AgentMonitor::CheckCheckPointFiles() {
382 CheckPointManager * checkpoint_manager = StorageManager::GetGlobalStorageManager(option_)->GetCheckPointManager();
383 uint64_t current_instanceid_interval = checkpoint_manager->GetCurrentInstanceInterval();
384 LogVerbose("%s reset hold paxos count %llu", __func__, current_instanceid_interval * 3);
385 master_agent_->SetHoldPaxosLogCount(current_instanceid_interval * 3);
386}
387
388}

Callers

nothing calls this directly

Calls 4

LogVerboseFunction · 0.85
GetCheckPointManagerMethod · 0.80
SetHoldPaxosLogCountMethod · 0.45

Tested by

no test coverage detected