keith-turner opened a new issue, #3323:
URL: https://github.com/apache/accumulo/issues/3323

   **Describe the bug**
   
   When using a BatchScanner and tablets have no location, the metadata table 
will be [queried every 
100ms](https://github.com/apache/accumulo/blob/856e361a83560289548fa399db02e0be374a1f9b/core/src/main/java/org/apache/accumulo/core/clientImpl/TabletServerBatchReaderIterator.java#L279)
 to look for locations.  If lots of client processes are doing this it can 
place unnecessary strain on the metadata table. This code should use the 
internal Accumulo 
[Retry](https://github.com/apache/accumulo/blob/main/core/src/main/java/org/apache/accumulo/core/util/Retry.java)
 class which offers exponential backoff.  The Retry object also offer some nice 
logging features.
   
   **Expected behavior**
   
   Excessive,  metadata queries are avoided.
   
   


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