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

Julian Reschke updated OAK-10650:
---------------------------------
    Labels: candidate_oak_1_22  (was: )

> MongoDocumentStore.findDocuments can fail with BSON exception
> -------------------------------------------------------------
>
>                 Key: OAK-10650
>                 URL: https://issues.apache.org/jira/browse/OAK-10650
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_oak_1_22
>             Fix For: 1.62.0
>
>
> This can happen in an edge case where the BSON condition exceeds the 16MB 
> limit (see in test for OAK-10642).
> The quick fix is to catch the exception and then use a simplified version of 
> the method that get's the documents one-by-one.
> Mid-term, we may want to refactor this so that we avoid the exception by 
> limiting the size of the BSON condition proactively.



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

Reply via email to