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

Add query limit parameter to Full GC Management Rest API endpoint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.50, 2023.8
    • Component/s: Rest API
    • Release Notes Summary:
      You can now limit the number of blobs to be garbage collected on the Full GC Rest API
    • Release Notes Description:
      Hide

      Add the queryLimit=10000 parameter to the Rest API call to invoke the Full GC on the first 10000 blobs only:

      curl -X DELETE -u Administrator:Administrator \
      http://localhost:8080/nuxeo/api/v1/management/blobs/orphaned?dryRun=true&queryLimit=10000
      
      Show
      Add the queryLimit=10000 parameter to the Rest API call to invoke the Full GC on the first 10000 blobs only: curl -X DELETE -u Administrator:Administrator \ http: //localhost:8080/nuxeo/api/v1/management/blobs/orphaned?dryRun= true &queryLimit=10000
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #107

      Description

      On a huge repository with a huge amount of blobs, the new Full GC can take ages to scroll the blob stores and proceed to the blob deletion check.

      It could be useful to have a limit parameter to test part of a full GC.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: