keith-turner commented on PR #3818:
URL: https://github.com/apache/accumulo/pull/3818#issuecomment-1749647822

    > what's the race condition? I thought that you could change the settings 
on a scanner and call iterator() at any point.
   
   The consistency level was set on the scanner in the foreground thread twice, 
but the code in the background threads could run at any time so do not know 
which scanner setting they will use.  When `iterator()` is called on the 
scanner it uses what ever config was set before that point.  The `iterator()` 
is called in the background thread by `Iterables.size()`


-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to