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

Introduce lower limit for gc() maxRevisionAge

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core, documentmk
    • None

    Description

      Introduce and enforce a lower limit for maxRevisionAge in VersionGarbageCollector.gc().

      OAK-4494 changes the way documents in a cache are considered up-to-date. In addition to the modCount value it also considers the modified timestamp. To work properly, a new document must have a modified timestamp that is different from a previous incarnation (i.e. before gc removed it). The version GC should therefore not remove documents with a maxRevisionAge less than the modified resolution (5 seconds).

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: