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

MissingLastRevSeeker non MongoDS may fail with OOM

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.2
    • core
    • None

    Description

      This code currently has a hardwired optimization for MongoDB (returning an Iterable over a DBCursor). For all other persistences, a java List of all matching NodeDocuments will be built.

      I see two ways to address this:

      1) Generalize the Mongo approach, where a query to the persistence can return a live iterator, or

      2) Stick with the public DS API, but leverage paging (get N nodes at once, and then keep calling query() again with the right starting ID).

      2) sounds simpler, but is not transactional; mreutegg would that be sufficient?

      Attachments

        1. OAK-2208.diff
          4 kB
          Julian Reschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: