kpm1985 opened a new issue #942: VisibilityCache constructor is out of date
URL: https://github.com/apache/fluo/issues/942
 
 
   ```
     private final Cache<Bytes, ColumnVisibility> visCache;
   
     VisibilityCache() {
       visCache =
           
CacheBuilder.newBuilder().expireAfterAccess(TxInfoCache.CACHE_TIMEOUT_MIN, 
TimeUnit.MINUTES)
               .maximumWeight(10000000).weigher(new 
VisWeigher()).concurrencyLevel(10).build();
     }
   ```
   Needs to be changed to use the properties from FluoConfiguration. In 
addition, I am adding a unit test that simply instantiates the class and makes 
sure its not null so this will be caught if a property is bogus in the future. 
I came across this just browsing my repo so this is kinda lucky, I think I 
erased TxInfoCache.CACHE_TIMEOUT_MIN with the earlier commit.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to