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

Method updateVersionSizes

fdbserver/TLogServer.actor.cpp:806–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804}
805
806void TLogQueue::updateVersionSizes(const TLogQueueEntry& result,
807 TLogData* tLog,
808 IDiskQueue::location start,
809 IDiskQueue::location end) {
810 auto it = tLog->id_data.find(result.id);
811 if (it != tLog->id_data.end()) {
812 it->second->versionLocation[result.version] = std::make_pair(start, end);
813 }
814}
815
816ACTOR Future<Void> tLogLock(TLogData* self, ReplyPromise<TLogLockResult> reply, Reference<LogData> logData) {
817 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