limit of getRange in snapTest reduced
With CLIENT_KNOBS->TOO_MANY in snapTest, by the time getRange gathers all the results, the storage server's oldest version has gone past the req->version and hence the transaction fails with transaction_too_old
This commit is contained in:
parent
b1b96946af
commit
40358e1dd6
|
@ -275,7 +275,7 @@ public: // workload functions
|
|||
tr.reset();
|
||||
loop {
|
||||
try {
|
||||
Standalone<RangeResultRef> kvRange = wait(tr.getRange(begin, end, CLIENT_KNOBS->TOO_MANY));
|
||||
Standalone<RangeResultRef> kvRange = wait(tr.getRange(begin, end, 1000));
|
||||
if (!kvRange.more && kvRange.size() == 0) {
|
||||
TraceEvent("SnapTestNoMoreEntries");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue