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

Add query limit parameter to Full GC Management Rest API endpoint

    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

          Hide
          hudson Jenkins added a comment -

          FAILURE: Integrated in nuxeo » lts » nuxeo » 2021 #905
          NXP-32346: Add queryLimit param to Full GC endpoint (guirenard: d1502f0e8da3c366166ce49d92616d0d582731bc)

          Show
          hudson Jenkins added a comment - FAILURE: Integrated in nuxeo » lts » nuxeo » 2021 #905 NXP-32346 : Add queryLimit param to Full GC endpoint (guirenard: d1502f0e8da3c366166ce49d92616d0d582731bc )
          Hide
          hudson Jenkins added a comment -

          FAILURE: Integrated in nuxeo » lts » nuxeo » 2023 #811
          NXP-32346: Add queryLimit param to Full GC endpoint (guirenard: 0fb85a6168a249313ea17f060c65e0722a404a07)

          Show
          hudson Jenkins added a comment - FAILURE: Integrated in nuxeo » lts » nuxeo » 2023 #811 NXP-32346 : Add queryLimit param to Full GC endpoint (guirenard: 0fb85a6168a249313ea17f060c65e0722a404a07 )
          Hide
          hudson Jenkins added a comment -

          FAILURE: Integrated in nuxeo » lts » nuxeo » 2023 #814
          NXP-32346: Add queryLimit param to Full GC endpoint (guirenard: 0fb85a6168a249313ea17f060c65e0722a404a07)

          Show
          hudson Jenkins added a comment - FAILURE: Integrated in nuxeo » lts » nuxeo » 2023 #814 NXP-32346 : Add queryLimit param to Full GC endpoint (guirenard: 0fb85a6168a249313ea17f060c65e0722a404a07 )
          Hide
          hudson Jenkins added a comment -

          SUCCESS: Integrated in nuxeo » lts » nuxeo » 2021 #908
          NXP-32346: Add queryLimit param to Full GC endpoint (guirenard: d1502f0e8da3c366166ce49d92616d0d582731bc)

          Show
          hudson Jenkins added a comment - SUCCESS: Integrated in nuxeo » lts » nuxeo » 2021 #908 NXP-32346 : Add queryLimit param to Full GC endpoint (guirenard: d1502f0e8da3c366166ce49d92616d0d582731bc )

            People

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

              Dates

              • Created:
                Updated:
                Resolved: