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

VersionGarbageCollector: allow to update _deletedOnce in batch operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • documentmk
    • None

    Description

      Right now, we collect the update operations in batches, but then issue individual update operations.

      A special-case API that takes a set of updates and applies them in a single DB operation might speed up things, in particular when there's a network hop.

      Related to this, we may want to think about whether we need to attach a modified check to each single operation (by keeping the _modified value for each _id). Wouldn't it be sufficient to just check that the _modified value is not newer than the end of the time window for the VGC run?

      Attachments

        1. OAK-5944.diff
          7 kB
          Julian Reschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: