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

Method updateVersionSizes

fdbserver/OldTLogServer_6_2.actor.cpp:728–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

726}
727
728void TLogQueue::updateVersionSizes(const TLogQueueEntry& result,
729 TLogData* tLog,
730 IDiskQueue::location start,
731 IDiskQueue::location end) {
732 auto it = tLog->id_data.find(result.id);
733 if (it != tLog->id_data.end()) {
734 it->second->versionLocation[result.version] = std::make_pair(start, end);
735 }
736}
737
738ACTOR Future<Void> tLogLock(TLogData* self, ReplyPromise<TLogLockResult> reply, Reference<LogData> logData) {
739 state Version stopVersion = logData->version.get();

Callers 1

readNextMethod · 0.95

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected