Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

During start, decide is performed inside a lock #3216

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

aravindanr
Copy link
Collaborator

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes (Please run ./gradlew generateLock saveLock to refresh dependencies)
  • WHOSUSING.md
  • Other (please describe):

NOTE: Please remember to run ./gradlew spotlessApply to fix any format violations.

Changes in this PR

A recent refactoring caused decide during startWorkflow to be performed outside a lock. This caused decide to be performed concurrently on two threads. This typically results in the first task of the workflow to be scheduled twice.

Alternatives considered

None

@aravindanr aravindanr merged commit f6dbe62 into main Sep 2, 2022
@aravindanr aravindanr deleted the duplicate_task_execution branch September 2, 2022 18:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants