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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/01/08 09:08:12 UTC

[jira] [Created] (OAK-540) MongoMK.getHeadRevision() returns branch revision

Marcel Reutegger created OAK-540:
------------------------------------

             Summary: MongoMK.getHeadRevision() returns branch revision
                 Key: OAK-540
                 URL: https://issues.apache.org/jira/browse/OAK-540
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mongomk
    Affects Versions: 0.5
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger


The MongoMK.getHeadRevision() implementation does not restrict the revisions to the trunk but may also return the revision of a branch when it is more recent. As quickly discussed on the mailing list [0], the contract of getHeadRevision() is to return the most recent trunk revision, ignoring any branches.

[0] http://markmail.org/message/4wbazrxpmtceygpi

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