Server

LTS 2021.35 / LTS 2021-HF35

Updated: April 29, 2024

What's New in LTS 2021.35 / LTS 2021-HF35

Clean Up Orphan Binaries After Document Removal, Blob Property Edition and Dispatch

Whenever a:

  • document is removed
  • document blob property is edited
  • document blob property is dispatched to another blob provider
    a domain event referencing the related blob(s) is fired and a record is written to the "source/blob" stream for each blob candidate for deletion.

This stream is consumed asynchronously and the blob is eventually deleted if it is not referenced by any other documents.

Note that, this process is only available on instances working with:

  • repositories having the "ecm:blobKeys" capability (introduced by NXP-29516 (i.e. MongoDB)
  • blob providers extending BlobStoreBlobProvider such as S3BlobProvider and LocalBlobProvider

In case of multi-repository deployment with a custom Blob Dispatcher configuration, the Nuxeo platform cannot ascertain that each repository has its own different binary store path and binaries referenced in another repository may be deleted (see documentation. In that case, it is recommended to disable this feature with NXP-31794.

 More on JIRA ticket NXP-31594

Ensure File Existence When Using Batch Upload in Cluster Mode and Cloud Storage

CachingBlobStore now asserts that a blob exists in the wrapped blob store on wirte

 More on JIRA ticket NXP-31730

Blob.AttachOnDocument Doesn't Handle Correctly List of Blobs

Blob.AttachOnDocument works with a list of blobs.

 More on JIRA ticket NXP-31721

Worker Nodes Scaling Management Endpoint

There is a new Management endpoint for autoscaler

 More on JIRA ticket NXP-31679

Delete Orphan Workflows and Tasks

Orphaned workfows can be deleted daily along with wokflows in state "done" or "canceled'. A new management endpoint is available to GC orphaned, done or canceled workflows on demand.

The DocumentRoutingWorkflowInstancesCleanup listener (triggered daily), which removes the workflow in state done or canceled, has been reimplemented to leverage BAF. Note that the tasks related to a removed workflow are also removed.

By setting the nuxeo.routing.cleanup.workflow.instances.orphan conf property to true (false by default), the DocumentRoutingWorkflowInstancesCleanup listener will also remove orphan workflows daily.

A new management rest API endpoint is also available to perform a workflow garbage collection on demand. See documentation.

 More on JIRA ticket NXP-31659

Make Directory.SuggestEntries Return Parent With Obsolete Children if the Parameter canSelectParent Is Set to True

A parent directory entry of which all children are obsolete is now returned if 'canSelectParent' is true

 More on JIRA ticket NXP-31052

PubSub Usage Must Be Monitored

There is new metric to monitor PubSub usage.

 More on JIRA ticket NXP-29386

Learn More

More information about released changes and fixed bugs is available in our bug tracking tool.