microsoft / microsoft/durabletask-netherite

Concurrent `PurgeOrchestrationInstanceHistoryAsync` calls

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

Nobody has claimed this yet.

documentation P2
Dominant language
C#
Stars
239
Forks
37
Avg merge
1d 10h
Merged PRs (30d)
2

Description

We should call PurgeOrchestrationInstanceHistoryAsync method to delete orchestrations started more than 24 hours ago. We want to make that call from BackgroundService in .NET core. In documentation nothing mentioned if we can do that call from multiple services containing that BackgroundService or not. Could you please let me know if it safe to make that call concurrently with same arguments or not?

Contributor guide

Open the contributing guide

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

Start with the PurgeOrchestrationInstanceHistoryAsync API and the BackgroundService usage described in the issue. Determine whether concurrent calls with identical arguments are supported, then document the concurrency behavior and any relevant constraints for callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, distributed-systems
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.