MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / maybeCatchUp

Method maybeCatchUp

cpp/core/LogsDB.cpp:1286–1298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284 }
1285
1286 void maybeCatchUp() {
1287 for (auto idx : _missingEntries) {
1288 if (idx != 0) {
1289 _populateStats();
1290 return;
1291 }
1292 }
1293 _lastContinuousIdx = _lastMissingIdx;
1294 _missingEntries.clear();
1295 _requestIds.clear();
1296 _findMissingEntries();
1297 _populateStats();
1298 }
1299
1300
1301 void proccessLogReadRequest(ReplicaId fromReplicaId, uint64_t requestId, const LogReadReq& request) {

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected