mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 03:12:12 +08:00
Fix provisional GRV Proxy ID in GetReadVersionReply
This was not set and can cause infinite loop in simulation where the client calls getConsistentReadVersion(), in which we do "continue" for stale GRV reply and retry. Then this repeats forever.
This commit is contained in:
parent
327c1da0a0
commit
71acfd5a7e
@ -851,6 +851,7 @@ ACTOR Future<Standalone<CommitTransactionRef>> provisionalMaster(Reference<Clust
|
||||
rep.version = parent->lastEpochEnd;
|
||||
rep.locked = locked;
|
||||
rep.metadataVersion = metadataVersion;
|
||||
rep.proxyId = parent->provisionalGrvProxies[0].id();
|
||||
req.reply.send(rep);
|
||||
} else
|
||||
req.reply.send(Never()); // We can't perform causally consistent reads without recovering
|
||||
|
Loading…
x
Reference in New Issue
Block a user