[ 
https://issues.apache.org/jira/browse/ACCUMULO-4141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143125#comment-15143125
 ] 

Keith Turner commented on ACCUMULO-4141:
----------------------------------------

bq. I assume by Major you don't think this would be a big performance impact?

I am uncertain of impact.   This is somewhat mitigated by the fact that open 
RFiles are cached on the tserver.  These open rfiles will not reread the 
metadata.  However a file that gets popular with scans and needs to open a lot 
of new RFiles at once will not benefit from the cache of open rfiles or the 
file data cache.

> RFile metadata not loading from cache 
> --------------------------------------
>
>                 Key: ACCUMULO-4141
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4141
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.6.4, 1.7.0
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.6.6, 1.7.2
>
>
> In [BCFile line 
> 818|https://github.com/apache/accumulo/blob/1.6.4/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java#L818]
>  an attempt to read crypto metadata from cache is made.  Then at [BCFile line 
> 820|https://github.com/apache/accumulo/blob/1.6.4/core/src/main/java/org/apache/accumulo/core/file/rfile/bcfile/BCFile.java#L820]
>  if that crypto metadata does not exist, some BC file metadata is read from 
> the file.  For unencrypted files this data will never exist in cache.  
> Therefore for unencrypted files metadata will always be read from the file, 
> even when its cached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to