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

Add an nuxeo.conf property to disable Immediate blob Garbage Collection

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0, 2021.36
    • Component/s: BlobManager, Core
    • Release Notes Summary:
      Immediate Document's blobs Garbage Collection can be disabled with a nuxeo.conf property
    • Tags:
    • Upgrade notes:
      Hide

      To disable the Immediate Document's blobs Garbage Collection, set the following nuxeo.conf property to false:

      nuxeo.bulk.action.blobGC.enabled=false
      
      Show
      To disable the Immediate Document's blobs Garbage Collection, set the following nuxeo.conf property to false: nuxeo.bulk.action.blobGC.enabled= false
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #84

      Description

      We can add a nuxeo.bulk.action.blobGC.enabled (default value true) to easily disable Immediate blob Garbage Collection introduced in NXP-31594.

      diff --git i/modules/core/nuxeo-core/src/main/resources/OSGI-INF/core-domain-event-producer-contrib.xml w/modules/core/nuxeo-core/src/main/resources/OSGI-INF/core-domain-event-producer-contrib.xml
      index 900ff17dc71..3463186a30b 100644
      
      
      --- i/modules/core/nuxeo-core/src/main/resources/OSGI-INF/core-domain-event-producer-contrib.xml
      +++ w/modules/core/nuxeo-core/src/main/resources/OSGI-INF/core-domain-event-producer-contrib.xml
      @@ -12,6 +12,7 @@
       
         <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
           <streamProcessor name="blobGC"
      +      enabled="${nuxeo.bulk.action.blobGC.enabled:=true}"
             defaultCodec="avro" class="org.nuxeo.ecm.core.blob.stream.StreamOrphanBlobGC"
             defaultConcurrency="${nuxeo.bulk.action.blobGC.defaultConcurrency:=1}"
             defaultPartitions="${nuxeo.bulk.action.blobGC.defaultPartitions:=1}"
      

      The current alternative is to override the core-domain-event-producer-contrib.xml contribution.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: