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

Method MatchLogOffset

src/replica/replicate_node.cc:106–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void ReplicateNode::MatchLogOffset() {
107 while (is_running_.load(std::memory_order_relaxed)) {
108 int ok = MatchLogOffsetFromNode();
109 if (ok != 0) {
110 bthread_usleep(FLAGS_binlog_match_logoffset_interval * 1000);
111 } else {
112 return;
113 }
114 }
115}
116
117void ReplicateNode::SyncData() {
118 uint32_t coffee_time = 0;

Callers 1

RunSyncTaskFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected