Skip to content

Optimize step executions counting in MongoStepExecutionDao #5061

Closed

Description

@fmbenhassine

As of v5.2.4 / v6.0.0-RC1, the method MongoStepExecutionDao#countStepExecutions is not optimized, it uses nested loops to count step executions.

This method should be optimized to perform a count query using a MongoOperations#count operation.

Activity

  1. added this to the 6.0.0-RC2 milestone on Oct 29, 2025
  2. fmbenhassine commented on Nov 5, 2025

    @fmbenhassine
    ContributorAuthor

    Resolved in ddbb617, many thanks to @quaff !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: backport-to-5.2.xin: corerelated-to: performancetype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions