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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/03/27 05:24:41 UTC

[jira] [Updated] (OAK-3141) [DocumentNodeStore] Oak should warn when large documents are written

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

Chetan Mehrotra updated OAK-3141:
---------------------------------
    Fix Version/s: 1.8

> [DocumentNodeStore] Oak should warn when large documents are written
> --------------------------------------------------------------------
>
>                 Key: OAK-3141
>                 URL: https://issues.apache.org/jira/browse/OAK-3141
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>    Affects Versions: 1.0.16
>            Reporter: Jörg Hoh
>             Fix For: 1.8
>
>
> When working with the RDBMK we came into situations, that large documents did not fit into the provided db columns, there was an overflow, which caused oak not to persist the change. We fixed it by increasing the size of the column.
> But it would be nice if Oak could warn if a document exceeds a certain size (for example 2 megabytes); because this warning indicates, that on a JCR level there might be a problematic situation, for example:
> * ordered node with a large list of childnodes
> * or longstanding sessions with lots of changes, which accumulate to large documents.
> It's certainly nice to know if there's a node/document with such a problem, before the exceptions actually happens and an operation breaks.
> This message should be a warning, and should contain the JCR path of the node plus the current size. To avoid that this message is overseen, it would be good if it is written everyonce in a while (every 10 minutes?) if this condition persists.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)