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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/06/24 16:22:16 UTC

[jira] [Commented] (OAK-4510) RDBDocumentStore: can't persist _modified value of null

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

Julian Reschke commented on OAK-4510:
-------------------------------------

We actually *do* persist null, but it gets mangled to 0 on the way out. Would it be acceptable to just map 0 to null in RDBDocumentStore? Otherwise the fix would be a bit more complex...

> RDBDocumentStore: can't persist _modified value of null
> -------------------------------------------------------
>
>                 Key: OAK-4510
>                 URL: https://issues.apache.org/jira/browse/OAK-4510
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: documentmk, rdbmk
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> This is tested in {{BasicDocumentStoreTest.testUpdateModified}}, but that test uses {{Collection.NODES}}, and the invalidation logic in {{RDBDocumentStore}} causes the cached value to be re-used because the {{modcount}} matches.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)