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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/04/22 13:13:17 UTC

[jira] [Commented] (OAK-780) Revision.fromString() only parses two counter digits

    [ https://issues.apache.org/jira/browse/OAK-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637925#comment-13637925 ] 

Thomas Mueller commented on OAK-780:
------------------------------------

The reason for this check is to support simple revision ids (counters, without timestamp) for the test case SimpleTest.nodeIdentifier.

But the format is a bit strange. I will change it to {noformat}r<timestamp>-<counter>-<clusterId>{noformat}, where the timestamp is optional for SimpleTest.nodeIdentifier.
                
> Revision.fromString() only parses two counter digits
> ----------------------------------------------------
>
>                 Key: OAK-780
>                 URL: https://issues.apache.org/jira/browse/OAK-780
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>    Affects Versions: 0.6
>            Reporter: Marcel Reutegger
>             Fix For: 0.7
>
>
> Round-tripping is broken when the counter of a revision exceeds two hex digits.
> This issue can be reproduced by increasing the loop count to 1000 in SimpleTest.revision().

--
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