You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2016/02/11 18:33:18 UTC

[jira] [Commented] (ACCUMULO-4141) RFile metadata not loading from cache

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

Josh Elser commented on ACCUMULO-4141:
--------------------------------------

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

Yet another sign that we need much better block cache metrics :)

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