You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/02/26 22:46:29 UTC

[GitHub] ctubbsii commented on a change in pull request #990: Avoid multiple threads loading same cache block

ctubbsii commented on a change in pull request #990: Avoid multiple threads loading same cache block
URL: https://github.com/apache/accumulo/pull/990#discussion_r260511553
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/core/file/blockfile/cache/LruBlockCache.java
 ##########
 @@ -143,6 +144,9 @@
   /** Overhead of the structure itself */
   private long overhead;
 
+  /** Locks used when loading data not in the cache. Size is prime number. */
 
 Review comment:
   Is the size an arbitrary number, or is the fact that it is prime relevant? If it is relevant, how so?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services