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 2013/09/20 11:59:52 UTC

[jira] [Resolved] (OAK-1021) Wrong value for Segment#MEDIUM_LIMIT

     [ https://issues.apache.org/jira/browse/OAK-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved OAK-1021.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10
         Assignee: Michael Dürig

Fixed at http://svn.apache.org/r1524961
                
> Wrong value for Segment#MEDIUM_LIMIT
> ------------------------------------
>
>                 Key: OAK-1021
>                 URL: https://issues.apache.org/jira/browse/OAK-1021
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segmentmk
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 0.10
>
>
> That value is defined as 
> {code}
> SMALL_LIMIT = 1 << 7;
> MEDIUM_LIMIT = 1 << (16-2) + SMALL_LIMIT;
> {code}
> However it should most likely be
> {code}
> MEDIUM_LIMIT = (1 << 16-2) + SMALL_LIMIT;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira