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

make generic VersionGCSupport perform better

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.9, 1.1.1
    • 1.0.12, 1.1.6
    • mongomk
    • None

    Description

      The DocumentMK's VersionGCSupport code currently special-cases the Mongo persistence.

      Needed are two optimized queries:

      1) deletedOnce = true AND modifiedInSecs < lastModified

      2) sdType in (....) AND sdMaxRevTimeInSecs < oldestRevTimeStamp

      (where in the case of 2) the matching documents can be removed right away)

      TODO:

      a) find out which of these system properties ought to be indexed properties

      b) decide on whether we can implement this as generic interface extension of DocumentStore, or whether we add custom code for the RDBDocumentStore similary to what Mongo does

      on b): I think we should aim for removing persistence-specific code from the kernel, so we probably should add extension interfaces for these.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: