keith-turner commented on a change in pull request #2346:
URL: https://github.com/apache/accumulo/pull/2346#discussion_r746878178



##########
File path: 
core/src/main/java/org/apache/accumulo/core/clientImpl/ScannerIterator.java
##########
@@ -65,9 +67,9 @@
 
   private ScannerImpl.Reporter reporter;
 
-  private static ThreadPoolExecutor readaheadPool = 
ThreadPools.createThreadPool(0,

Review comment:
       The user has control over wether read ahead will happen w/ [this scanner 
API](https://github.com/apache/accumulo/blob/bf4d8e4ad5c06e2881a8235ffd0bb293c54289e4/core/src/main/java/org/apache/accumulo/core/client/Scanner.java#L93).
  If that is set really high, then read ahead would never happen.  So maybe it 
nice if the thread pool can go to zero threads instead of always having 1 
thread.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to