Skip to content

Commit 0207742

Browse files
committed
Move the note on default configuration behavior for orchestration versioning
1 parent ffa197a commit 0207742

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-functions/durable/durable-functions-orchestration-versioning.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ The Orchestration Versioning feature operates on these core principles:
5353

5454
The most common use case for Orchestration Versioning is when you need to make breaking changes to your orchestrator logic while keeping existing in-flight orchestration instances running with their original version. All you need to do is update the `defaultVersion` in your `host.json` and modify your orchestrator code to check the orchestration version and branch execution accordingly. Let's walk through the required steps.
5555

56+
> [!NOTE]
57+
> The behavior described in this section targets the most common situations, and this is what the default configuration provides. However, it can be modified if needed (see [Advanced usage](#advanced-usage) for details).
58+
5659
### Step 1: defaultVersion configuration
5760

5861
To configure the default version for your orchestrations, you need to add or update the `defaultVersion` setting in the `host.json` file in your Azure Functions project:
@@ -138,9 +141,6 @@ Here's what to expect once you deploy your updated orchestrator function with th
138141
> [!NOTE]
139142
> The presence of orchestration versions alone does not control worker lifecycle. The Azure Functions platform will not automatically start or stop workers just because of versioning. Instead, workers are provisioned and decommissioned based on regular rules, depending on the specific hosting configuration. In most scenarios, the lifetime of workers is managed by the platform, and the platform will automatically ensure that all workers are permanently replaced by the new version soon after a deployment. This is why it's important to make sure the latest orchestrator code remains backward compatible and is able to process orchestrations of older versions. In more sophisticated configurations where the user controls worker lifecycle, the user must ensure an adequate number of new workers is provided and old workers are eventually decommissioned.
140143
141-
> [!NOTE]
142-
> The behavior described in this section targets the most common situations, and this is what the default configuration provides. However, it can be modified if needed (see [Advanced usage](#advanced-usage) for details).
143-
144144
### Example: Replacing an activity in the sequence
145145

146146
This example shows how to replace one activity with a different activity in the middle of a sequence using Orchestration Versioning.

0 commit comments

Comments
 (0)