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

Management API running administration bulk action should be marked as exclusive

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.4, 2021.46
    • Component/s: Streams
    • Release Notes Summary:
      Management endpoints for long administratives tasks are now exclusive
    • Tags:
    • Sprint:
      nxplatform #99
    • Story Points:
      1

      Description

      The management API exposes long administrative actions like, reindexing or garbage collectors.

      These actions shouldn't be run concurrently, this can be easily controlled since NXP-32123 using the exclusive flag.

       We have:

       /management/elasticsearch/reindex

      /management/workflows/orphaned

      /management/blobs/orphaned

      /management/versions/orphaned

      /management/thumbnails/recompute

      /management/pictures/recompute

      /management/videos/recompute

      and

      automation Elasticsearch.bulkIndex operation

      When invoking one of these endpoints concurrently we should get a 409 conflict because another one is already running.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: