You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2017/02/27 11:01:45 UTC

[jira] [Created] (OAK-5850) Weight reported by the record cache is off by one

Michael Dürig created OAK-5850:
----------------------------------

             Summary: Weight reported by the record cache is off by one
                 Key: OAK-5850
                 URL: https://issues.apache.org/jira/browse/OAK-5850
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: segment-tar
            Reporter: Michael Dürig
            Assignee: Michael Dürig
             Fix For: 1.7.0, 1.8


While working on OAK-4619 I discovered that the weight reported by the {{RecordCache}} is always off by one. This is due to a wrong initialisation of the initial weight to -1 instead of 0. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)