[
https://issues.apache.org/jira/browse/OAK-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mete Atamel updated OAK-342:
----------------------------
Attachment: OAK-342.patch
Updated patch. Reorganized some packages.
> [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