Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10650

MongoDocumentStore.findDocuments can fail with BSON exception

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: