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

Julian Reschke commented on OAK-4322:
-------------------------------------

The limit should be requested from the DS implementation. For instance, RDB has 
a way bigger limit.

> Large values of a property should be handled gracefully
> -------------------------------------------------------
>
>                 Key: OAK-4322
>                 URL: https://issues.apache.org/jira/browse/OAK-4322
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Minor
>
> Sometimes values of a property can be really huge (in an observed case a 
> comment was in the order of MBs). This can lead to document size going over 
> the limit by underlying persistence (like 16MB for mongo).
> While, of course, such cases should be avoided at application level. But, 
> from storage side, it'd be useful to bear a bit of pain, handle the situation 
> gracefully (and possibly shout loudly in logs)
> One possible idea is to have a configurable limit on allowed size of values. 
> If the size is more than that, we can potentially offload the actual value as 
> blob and create a proxy value (having some meta information and blob ref) in 
> the document.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to