And now use spilledOnly as a hint to do parallel peeks.
If there's some spilled data, there's probably a lot of spilled data, and now we can pull all of it faster.
This commit is contained in:
parent
4eb4c03ce5
commit
658e61b394
|
@ -235,7 +235,7 @@ Future<Void> ILogSystem::ServerPeekCursor::getMore(int taskID) {
|
|||
if( hasMessage() )
|
||||
return Void();
|
||||
if( !more.isValid() || more.isReady() ) {
|
||||
more = parallelGetMore ? serverPeekParallelGetMore(this, taskID) : serverPeekGetMore(this, taskID);
|
||||
more = (parallelGetMore || onlySpilled) ? serverPeekParallelGetMore(this, taskID) : serverPeekGetMore(this, taskID);
|
||||
}
|
||||
return more;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue