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 2014/02/25 10:54:19 UTC

[jira] [Resolved] (OAK-1466) Document _modCount not monotonic increasing

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

Marcel Reutegger resolved OAK-1466.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.18

Turns out the problem wasn't too severe. {{Commit.rollback()}} did try to apply a reverse UpdateOp with a _modCount decrement, but the MongoDocumentStore implementation overwrites it with an increment. I changed the implementation anyway, because it was confusing.

Fixed in http://svn.apache.org/r1571634

> Document _modCount not monotonic increasing
> -------------------------------------------
>
>                 Key: OAK-1466
>                 URL: https://issues.apache.org/jira/browse/OAK-1466
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 0.17.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 0.18
>
>
> The _modCount of a document may get decremented when a commit is rolled back.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)