mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 19:25:52 +08:00
Fix GetReadVersionReply.recentRequests
This commit is contained in:
parent
4be5e4b6d5
commit
580ce6da74
@ -1411,13 +1411,13 @@ ACTOR Future<GetReadVersionReply> getLiveCommittedVersion(ProxyCommitData* commi
|
||||
rep.version = commitData->committedVersion.get();
|
||||
rep.locked = commitData->locked;
|
||||
rep.metadataVersion = commitData->metadataVersion;
|
||||
rep.recentRequests = commitData->stats.getRecentRequests();
|
||||
|
||||
for (auto v : versions) {
|
||||
if(v.version > rep.version) {
|
||||
rep = v;
|
||||
}
|
||||
}
|
||||
rep.recentRequests = commitData->stats.getRecentRequests();
|
||||
|
||||
if (debugID.present()) {
|
||||
g_traceBatch.addEvent("TransactionDebug", debugID.get().first(), "MasterProxyServer.getLiveCommittedVersion.After");
|
||||
|
Loading…
x
Reference in New Issue
Block a user