microsoft / microsoft/durabletask-mssql

MaxActiveOrchestrations set to 1 does not work, mutliple Orchestrations are running

Open
#199 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2
Dominant language
C#
Stars
105
Forks
36
PR merge metrics
No merged PRs in 30d

Description

MaxActiveOrchestrations is set to 1, but multiple Orchestration are run at the same time.

SqlOrchestrationServiceSettings sqlOrchestrationServiceSettings = new(databaseConnectionString)
{
            CreateDatabaseIfNotExists = true,
            AppName = "appName",
            DatabaseName = "databaseName",
            MaxActiveOrchestrations = 1
 };

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by reproducing the behavior with MaxActiveOrchestrations set to 1 and trace how SqlOrchestrationServiceSettings is applied when orchestrations start. Done means concurrent orchestrations are limited to one under this configuration, with a regression test covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.