Commit acc5707
authored
Add process key, make heartbeats repeatable field (#608)
<!-- Describe what has changed in this PR -->
**What changed?**
Add "process_key" to the worker host info.
Make "worker_heartbeat" repeatable in "PollNexus" and "RecordHeartbeat"
APIs.
<!-- Tell your future self why have you made these changes -->
**Why?**
We decide to have a single Q per process. Thus we need a way to agree on
task queue name, and for that we need this information to be:
* available as a part of heartbeat
* unique across at least namespace
Process ID is not unique.
Since we send all heartbeats at once - we make them repeated.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
Not yet.1 parent f73d351 commit acc5707
File tree
5 files changed
+38
-10
lines changed- openapi
- temporal/api
- worker/v1
- workflowservice/v1
5 files changed
+38
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7606 | 7606 | | |
7607 | 7607 | | |
7608 | 7608 | | |
7609 | | - | |
| 7609 | + | |
| 7610 | + | |
| 7611 | + | |
| 7612 | + | |
| 7613 | + | |
7610 | 7614 | | |
7611 | 7615 | | |
7612 | 7616 | | |
| |||
15410 | 15414 | | |
15411 | 15415 | | |
15412 | 15416 | | |
| 15417 | + | |
| 15418 | + | |
| 15419 | + | |
| 15420 | + | |
15413 | 15421 | | |
15414 | 15422 | | |
15415 | | - | |
| 15423 | + | |
15416 | 15424 | | |
15417 | 15425 | | |
15418 | 15426 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9723 | 9723 | | |
9724 | 9724 | | |
9725 | 9725 | | |
9726 | | - | |
| 9726 | + | |
| 9727 | + | |
| 9728 | + | |
9727 | 9729 | | |
9728 | 9730 | | |
9729 | 9731 | | |
| |||
12797 | 12799 | | |
12798 | 12800 | | |
12799 | 12801 | | |
| 12802 | + | |
| 12803 | + | |
| 12804 | + | |
| 12805 | + | |
| 12806 | + | |
| 12807 | + | |
| 12808 | + | |
| 12809 | + | |
12800 | 12810 | | |
12801 | 12811 | | |
12802 | | - | |
| 12812 | + | |
| 12813 | + | |
| 12814 | + | |
12803 | 12815 | | |
12804 | 12816 | | |
12805 | 12817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
81 | | - | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | | - | |
| 1775 | + | |
1776 | 1776 | | |
1777 | 1777 | | |
1778 | 1778 | | |
| |||
2384 | 2384 | | |
2385 | 2385 | | |
2386 | 2386 | | |
2387 | | - | |
| 2387 | + | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | 2390 | | |
| |||
0 commit comments