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

Use a lower bound in VersionGC query to avoid checking unmodified once deleted docs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, 1.8.0
    • Component/s: mongomk, rdbmk
    • Labels:

      Description

      As part of OAK-3062 Marcel Reutegger suggested

      As a further optimization we could also limit the lower bound of the _modified
      range. The revision GC does not need to check documents with a _deletedOnce
      again if they were not modified after the last successful GC run. If they
      didn't change and were considered existing during the last run, then they
      must still exist in the current GC run. To make this work, we'd need to
      track the last successful revision GC run.

      Lowest last validated _modified can be possibly saved in settings collection and reused for next run

        Attachments

        1. OAK-3070-updated.patch
          15 kB
          Julian Reschke
        2. OAK-3070-updated.patch
          16 kB
          Julian Reschke
        3. OAK-3070-3.patch
          26 kB
          Marcel Reutegger
        4. OAK-3070-2.patch
          25 kB
          Marcel Reutegger
        5. OAK-3070.patch
          12 kB
          Vikas Saurabh

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: