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

   > I'm thinking it would be better to leverage the scan hints to control a 
ScanServer-aware dispatcher, rather than add a new API for the consistency 
level.
   
   I think this goes against the purpose of scan execution hints.  They were 
created to modify execution behavior like priority, caching, and thread pool 
selection.  They were never intended to change anything about data returned, it 
says so in their javadocs.
   
   
https://github.com/apache/accumulo/blob/d5f81877fcc794c8158f38b840d02331e3c563dc/core/src/main/java/org/apache/accumulo/core/client/ScannerBase.java#L342-L361
   
   Slightly related I created a new default scan server dispatcher.  Its 
currently a PR against Dave's branch: dlmarion/accumulo#29.  When running 100+ 
test scenarios this is what I realized I wanted.  I wish I had had it when 
running all of those test,  I could have a run a few more test that I wanted to 
but could not.  This new dispatcher is completely configuration driven 
(replacing the algorithm the previous default dispatcher had) and can be 
influenced by scan execution hints.  If we merge this PR, I could close the PR 
on Dave's fork and make a PR on the main Accumulo GH.
   


-- 
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