MCPcopy Create free account
hub / github.com/apple/foundationdb / updateVersionSizes

Method updateVersionSizes

fdbserver/OldTLogServer_6_0.actor.cpp:628–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626 v); // ... and then we erase that previous version and all prior versions
627}
628void TLogQueue::updateVersionSizes(const TLogQueueEntry& result, TLogData* tLog) {
629 auto it = tLog->id_data.find(result.id);
630 if (it != tLog->id_data.end()) {
631 it->second->versionLocation[result.version] = queue->getNextReadLocation();
632 }
633}
634
635ACTOR Future<Void> tLogLock(TLogData* self, ReplyPromise<TLogLockResult> reply, Reference<LogData> logData) {
636 state Version stopVersion = logData->version.get();

Callers 1

readNextMethod · 0.95

Calls 3

findMethod · 0.45
endMethod · 0.45
getNextReadLocationMethod · 0.45

Tested by

no test coverage detected