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

Method GetFile

phxbinlogsvr/core/storage/checkpoint_manager.cpp:108–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108int CheckPointManager::GetFile(vector<string> *checkpointfiles) {
109 EventFileManager eventfilemanager(option_);
110 const set<string, FileCmpOpt> &files = eventfilemanager.GetFileList();
111 for (const auto &it : files) {
112 checkpointfiles->push_back(it);
113 }
114 if (checkpointfiles->size())
115 checkpointfiles->pop_back();
116 return 0;
117}
118
119int CheckPointManager::LoadCheckpointFiles(const string &sCheckpointTmpFileDirPath) {
120 STATISTICS(CheckPointTransferFile());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected