You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more details about how different version formats are compared, see [Version comparison rules](#version-comparison-rules).
75
77
76
78
After you set the `defaultVersion`, all new orchestration instances will be permanently associated with that version.
77
79
@@ -227,7 +229,8 @@ For more sophisticated versioning scenarios, you can configure other settings to
227
229
228
230
The `versionMatchStrategy` setting determines how the runtime matches orchestration versions when loading orchestrator functions. It controls which orchestration instances a worker can process based on version compatibility.
229
231
230
-
**Configuration:**
232
+
#### Configuration
233
+
231
234
```json
232
235
{
233
236
"extensions": {
@@ -239,17 +242,17 @@ The `versionMatchStrategy` setting determines how the runtime matches orchestrat
239
242
}
240
243
```
241
244
242
-
**Available strategies:**
245
+
#### Available strategies
243
246
244
247
-**`None`** (not recommended): Ignore orchestration version completely. All work received is processed regardless of version. This strategy effectively disables version checking and allows any worker to process any orchestration instance.
245
248
246
249
-**`Strict`**: Only process tasks from orchestrations with the exact same version as the version specified by `defaultVersion` in the worker's `host.json`. This strategy provides the highest level of version isolation but requires careful deployment coordination to avoid orphaned orchestrations.
247
250
248
251
-**`CurrentOrOlder`** (default): Process tasks from orchestrations whose version is less than or equal to the version specified by `defaultVersion` in the worker's `host.json`. This strategy enables backward compatibility, allowing newer workers to handle orchestrations started by older orchestrator versions while preventing older workers from processing newer orchestrations.
249
252
250
-
**Version comparison for `CurrentOrOlder` strategy:**
253
+
### Version comparison rules
251
254
252
-
When the `CurrentOrOlder` strategy is selected, the runtime compares the orchestration instance's version with the `defaultVersion` value of the worker using the following rules:
255
+
When the `Strict` or `CurrentOrOlder` strategy is selected, the runtime compares the orchestration instance's version with the `defaultVersion` value of the worker using the following rules:
253
256
254
257
1. Empty or null versions are treated as equal.
255
258
2. An empty or null version is considered older than any defined version.
0 commit comments