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:04:45 UTC
[jira] [Resolved] (OAK-5850) Weight reported by the record cache is
off by one
[ https://issues.apache.org/jira/browse/OAK-5850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-5850.
--------------------------------
Resolution: Fixed
Fixed at http://svn.apache.org/viewvc?rev=1784531&view=rev
> 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)