remove cache update from extractreadversion and set lower time bound to 0
This commit is contained in:
parent
d560eb1fea
commit
ae31f01dc4
|
@ -5709,7 +5709,6 @@ ACTOR Future<Version> extractReadVersion(Location location,
|
|||
state Span span(spanContext, location, { parent });
|
||||
GetReadVersionReply rep = wait(f);
|
||||
double latency = now() - startTime;
|
||||
cx->updateCachedRV(startTime, rep.version);
|
||||
cx->GRVLatencies.addSample(latency);
|
||||
if (trLogInfo)
|
||||
trLogInfo->addLog(FdbClientLogEvents::EventGetVersion_V3(
|
||||
|
|
|
@ -1188,7 +1188,7 @@ ACTOR Future<Void> postResolution(CommitBatchContext* self) {
|
|||
self->commitStartTime = now();
|
||||
pProxyCommitData->lastStartCommit = self->commitStartTime;
|
||||
auto curTime = now();
|
||||
debug_advanceVersionTimestamp(self->commitVersion, curTime, curTime + CLIENT_KNOBS->MAX_VERSION_CACHE_LAG);
|
||||
debug_advanceVersionTimestamp(self->commitVersion, 0, curTime + CLIENT_KNOBS->MAX_VERSION_CACHE_LAG);
|
||||
self->loggingComplete = pProxyCommitData->logSystem->push(self->prevVersion,
|
||||
self->commitVersion,
|
||||
pProxyCommitData->committedVersion.get(),
|
||||
|
|
Loading…
Reference in New Issue