MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / RunSyncTask

Function RunSyncTask

src/replica/replicate_node.cc:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37static void* RunSyncTask(void* args) {
38 if (args == NULL) {
39 PDLOG(WARNING, "input args is null");
40 return NULL;
41 }
42 ::fedb::replica::ReplicateNode* rn =
43 static_cast<::fedb::replica::ReplicateNode*>(args);
44 rn->MatchLogOffset();
45 rn->SyncData();
46 return NULL;
47}
48
49ReplicateNode::ReplicateNode(const std::string& point, LogParts* logs,
50 const std::string& log_path, uint32_t tid,

Callers

nothing calls this directly

Calls 2

MatchLogOffsetMethod · 0.80
SyncDataMethod · 0.80

Tested by

no test coverage detected