1
0
Fork 0

Improved Cluster Remote Blocks. In Some cases it only returns 1 relevant element instead of 1000. This did slow down a lot of queries.

This commit is contained in:
Michael Hackstein 2016-05-09 16:24:02 +02:00
parent ab13d1e3a6
commit 52aea40929
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ bool DistributeBlock::getBlockForClient(size_t atLeast, size_t atMost,
AqlItemBlock* cur = _buffer.at(_index);
while (_pos < cur->size() && buf.at(clientId).size() < atLeast) {
while (_pos < cur->size() && buf.at(clientId).size() < atMost) {
// this may modify the input item buffer in place
size_t id = sendToClient(cur);