You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (Jira)" <ji...@apache.org> on 2023/06/13 14:06:00 UTC

[jira] [Created] (OAK-10299) Fix VersionGCSupport, which is used with MemoryDocumentStore

Stefan Egli created OAK-10299:
---------------------------------

             Summary: Fix VersionGCSupport, which is used with MemoryDocumentStore
                 Key: OAK-10299
                 URL: https://issues.apache.org/jira/browse/OAK-10299
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: documentmk
            Reporter: Stefan Egli


VersionGCSupport has two subclasses for mongo/rdb which are the primary one used in a production system. The base class VersionGCSupport has overwritten methods in key functionality such as getOldestDeletedOnceTimestamp, getOldestModifiedTimestamp, getModifiedDocs.

One key difference between the base class and the subclasses is that the base class doesn't sort the results it gets from the DocumentStore.query. Or more precisely, the subclasses don't use that vanilla query method at all but code the sorting explicitly using lower level API.

That leaves the base class behaving differently vs the subclasses - in precisely a relevant aspect : sorting.

We should fix the base class - even if it's mostly used for testing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)