You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2023/04/20 12:37:56 UTC

[GitHub] [accumulo] keith-turner opened a new issue, #3323: BatchScanner performs excessive metadata queries when tablet have no location

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

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


[GitHub] [accumulo] dlmarion closed issue #3323: BatchScanner performs excessive metadata queries when tablets have no location

Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion closed issue #3323: BatchScanner performs excessive metadata queries when tablets have no location
URL: https://github.com/apache/accumulo/issues/3323


-- 
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-unsubscribe@accumulo.apache.org

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