Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27139

Scalable orphan version cleanup

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0, 2021.31
    • Component/s: Core
    • Release Notes Summary:
      A new bulk action is available to garbage collect orphaned versions
    • Release Notes Description:
      Hide

      The former implementation to remove the orphaned versions did not scale for a large repository.

      The new BAF implementation will handle large repositories even though invoking such garbage collection involves a heavy long-running process that should be executed on-demand only.

      The garbage collection of orphaned versions is exposed in the management API, see https://doc.nuxeo.com/rest-api/1/management-endpoint/

      A version stays referenced and therefore is not removed if:

      • any proxy points to a version in the version history of any live document
      • or in the case of a tree snapshot if there is a snapshot containing a version in the version history of any live document.
      Show
      The former implementation to remove the orphaned versions did not scale for a large repository. The new BAF implementation will handle large repositories even though invoking such garbage collection involves a heavy long-running process that should be executed on-demand only. The garbage collection of orphaned versions is exposed in the management API, see https://doc.nuxeo.com/rest-api/1/management-endpoint/ A version stays referenced and therefore is not removed if: any proxy points to a version in the version history of any live document or in the case of a tree snapshot if there is a snapshot containing a version in the version history of any live document.
    • Tags:
    • Sprint:
      nxplatform #76, nxplatform #77
    • Story Points:
      8

      Description

      Orphan versions cleanup, introduced by NXP-14187 and deactivated by default by NXP-24819, should be rethought to be efficient when the database size scales.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: