jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mete Atamel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-342) [MongoMK] Revision id type inconsistency
Date Thu, 27 Sep 2012 07:44:08 GMT

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

Mete Atamel updated OAK-342:
----------------------------

    Attachment:     (was: OAK-342.patch)
    
> [MongoMK] Revision id type inconsistency
> ----------------------------------------
>
>                 Key: OAK-342
>                 URL: https://issues.apache.org/jira/browse/OAK-342
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>    Affects Versions: 0.6
>            Reporter: Mete Atamel
>            Priority: Minor
>         Attachments: OAK-342.patch
>
>
> RevisionId in MicroKernel API is String but it's (along with baseRevId) stored as long
in MongoMK. This is fine but MongoMK implementation is currently inconsistent with revisionId
type. Sometimes it uses String and sometimes it uses long for revisionId and this results
in a lot of String->long conversions throughout the code. 
> I think as soon as revisonId hits MongoMK, it should be converted to long and long should
be the only type for revisionId throughout MongoMK 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

Mime
View raw message