Commit 060dbc3
WorkerDeployments becoming async in nature. (#647)
_**READ BEFORE MERGING:** All PRs require approval by both Server AND
SDK teams before merging! This is why the number of required approvals
is "2" and not "1"--two reviewers from the same team is NOT sufficient.
If your PR is not approved by someone in BOTH teams, it may be summarily
reverted._
<!-- Describe what has changed in this PR -->
**What changed?**
- Added a monotonically increasing counter which shall be used by the
history service when scheduling workflow/activity tasks.
- Add an enum in the RoutingConfig which shall convey the routing config
propagation status. This shall allow users to have a peek at the exact
stage where an update, scheduled by a worker-versioning write API, has
reached.
<!-- Tell your future self why have you made these changes -->
**Why?**
- The main purpose of this is to resolve out-of-sync history and
matching partitions when it comes to deciding how to route tasks
<!-- Are there any breaking changes on binary or code level? -->
None, just new fields and enums, no new APIs
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
temporalio/temporal#8570
---------
Co-authored-by: Carly de Frondeville <[email protected]>1 parent d674607 commit 060dbc3
File tree
5 files changed
+65
-0
lines changed- openapi
- temporal/api
- deployment/v1
- enums/v1
- workflow/v1
5 files changed
+65
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14114 | 14114 | | |
14115 | 14115 | | |
14116 | 14116 | | |
| 14117 | + | |
| 14118 | + | |
| 14119 | + | |
| 14120 | + | |
| 14121 | + | |
14117 | 14122 | | |
14118 | 14123 | | |
14119 | 14124 | | |
| 14125 | + | |
| 14126 | + | |
| 14127 | + | |
| 14128 | + | |
| 14129 | + | |
| 14130 | + | |
| 14131 | + | |
| 14132 | + | |
| 14133 | + | |
| 14134 | + | |
14120 | 14135 | | |
14121 | 14136 | | |
14122 | 14137 | | |
| |||
16092 | 16107 | | |
16093 | 16108 | | |
16094 | 16109 | | |
| 16110 | + | |
| 16111 | + | |
| 16112 | + | |
| 16113 | + | |
16095 | 16114 | | |
16096 | 16115 | | |
16097 | 16116 | | |
| |||
17143 | 17162 | | |
17144 | 17163 | | |
17145 | 17164 | | |
| 17165 | + | |
| 17166 | + | |
| 17167 | + | |
| 17168 | + | |
| 17169 | + | |
17146 | 17170 | | |
17147 | 17171 | | |
17148 | 17172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11071 | 11071 | | |
11072 | 11072 | | |
11073 | 11073 | | |
| 11074 | + | |
| 11075 | + | |
| 11076 | + | |
11074 | 11077 | | |
11075 | 11078 | | |
11076 | 11079 | | |
| |||
13347 | 13350 | | |
13348 | 13351 | | |
13349 | 13352 | | |
| 13353 | + | |
| 13354 | + | |
| 13355 | + | |
| 13356 | + | |
| 13357 | + | |
| 13358 | + | |
| 13359 | + | |
| 13360 | + | |
| 13361 | + | |
| 13362 | + | |
13350 | 13363 | | |
13351 | 13364 | | |
13352 | 13365 | | |
| |||
14686 | 14699 | | |
14687 | 14700 | | |
14688 | 14701 | | |
| 14702 | + | |
| 14703 | + | |
| 14704 | + | |
14689 | 14705 | | |
14690 | 14706 | | |
14691 | 14707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
| |||
285 | 289 | | |
286 | 290 | | |
287 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
288 | 295 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
211 | 219 | | |
212 | 220 | | |
213 | 221 | | |
| |||
0 commit comments