mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 19:25:52 +08:00
fixup!
This commit is contained in:
parent
cf70d45e6d
commit
eb263c382e
@ -6101,7 +6101,7 @@ ACTOR Future<GetMappedKeyValuesReply> mapKeyValues(StorageServer* data,
|
||||
pOriginalReq->options.get().debugID.get().first(),
|
||||
"storageserver.mapKeyValues.BeforeLoop");
|
||||
|
||||
for (; offset < sz && *remainingLimitBytes > 0; offset += SERVER_KNOBS->MAX_PARALLEL_QUICK_GET_VALUE) {
|
||||
for (; (offset < sz) && (*remainingLimitBytes > 0); offset += SERVER_KNOBS->MAX_PARALLEL_QUICK_GET_VALUE) {
|
||||
// Divide into batches of MAX_PARALLEL_QUICK_GET_VALUE subqueries
|
||||
for (int i = 0; i + offset < sz && i < SERVER_KNOBS->MAX_PARALLEL_QUICK_GET_VALUE; i++) {
|
||||
KeyValueRef* it = &input.data[i + offset];
|
||||
|
Loading…
x
Reference in New Issue
Block a user