Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74884

RunningFlowActions transient action factory should inform about action it handles

XMLWordPrintable

    • workflow-cps:3996.va_f5c1799f978

      RunningFlowActions is a transient action factory that consult org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.isComplete that eventually requires a lock on the flow execution. But since the factory does not inform about the type of action, it is consulted quite often un-necessarily.

      Moreover it could cause contention and deadlock if the caller has a some locks already.

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: