EdColeman commented on issue #2606:
URL: https://github.com/apache/accumulo/issues/2606#issuecomment-1402836124
The javadoc in ScannerBase says that the timeout is a retry timeout.
```
This setting determines how long a scanner will automatically retry when a
failure occurs. By default, a scanner will retry forever.
```
In testing, with the SlowIterator, with a Scanner, there is no failure that
triggers the retry timeout, so there Timeout exception is not thrown. The
calling in code ScanIterator will just keep looping, trying to get a row. Once
the sleep expires in SlowIterator, the row is returned and the loop restarts.
With a scanner, setting a batch timeout will control how long it will take
to gather results - but it does not time out - presumably because the iterator
is "still making progress" wrt the scan.
--
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]