verify FLAG_USE_PROVISIONAL_PROXIES on the server
This commit is contained in:
parent
81438d6d21
commit
424b35de63
|
@ -649,7 +649,8 @@ ACTOR Future<Standalone<CommitTransactionRef>> provisionalMaster(Reference<Maste
|
|||
loop choose {
|
||||
when(GetReadVersionRequest req =
|
||||
waitNext(parent->provisionalGrvProxies[0].getConsistentReadVersion.getFuture())) {
|
||||
if (req.flags & GetReadVersionRequest::FLAG_CAUSAL_READ_RISKY && parent->lastEpochEnd) {
|
||||
if ((req.flags & GetReadVersionRequest::FLAG_CAUSAL_READ_RISKY) &&
|
||||
(req.flags & GetReadVersionRequest::FLAG_USE_PROVISIONAL_PROXIES) && parent->lastEpochEnd) {
|
||||
GetReadVersionReply rep;
|
||||
rep.version = parent->lastEpochEnd;
|
||||
rep.locked = locked;
|
||||
|
|
Loading…
Reference in New Issue