Skip to content

Commit f3b1c37

Browse files
Merge pull request #311317 from pradeepmi-MSFT/patch-21
(AzureCXP) fixes MicrosoftDocs/azure-docs-pr#550410
2 parents bef536b + 1d24b7e commit f3b1c37

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

articles/azure-functions/durable/durable-task-scheduler/durable-task-scheduler-auto-purge.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Autopurge is enabled by default with a 30 day policy, but it can be customized.
2323

2424
The orchestration instances eligible for autopurge match those targeted by [the Durable SDK PurgeInstancesAsync API](/dotnet/api/microsoft.durabletask.client.durabletaskclientextensions.purgeinstancesasync?view=durabletask-dotnet-1.x&preserve-view=true).
2525

26+
> [!NOTE]
27+
> Orchestrations using `ContinueAsNew` may appear with a status that is marked as obsolete in some C# SDK versions. This behavior is expected. `ContinueAsNew` does not represent a terminal state. Instead, it restarts the orchestration with a new execution history while preserving the instance ID. In this case, such instances:
28+
> - Aren't considered completed or failed for auto-purge purposes.
29+
> - Aren't removed until they eventually reach a true terminal state (`Completed`, `Failed`, or `Terminated`).
30+
2631
Autopurge ignores orchestration data associated with non-terminal statuses. "Non-terminal" statuses indicate that the orchestration instance is either actively executing, paused, or in a state where it may resume in the future (waiting for external events or timers). These orchestrations that are continuing as new, where the current *execution* is completed, but a new instance has been started as a continuation.
2732

2833
These statuses include:

0 commit comments

Comments
 (0)