| 35 | |
| 36 | |
| 37 | static 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 | |
| 49 | ReplicateNode::ReplicateNode(const std::string& point, LogParts* logs, |
| 50 | const std::string& log_path, uint32_t tid, |
nothing calls this directly
no test coverage detected