Commit bc32f23
authored
fix(cluster-forwarding): do not forward activity heartbeat in selected-apis-forwarding-v2 (#7488)
<!-- Describe what has changed in this PR -->
**What changed?**
Remove activity heartbeat from selected-apis-forwarding-v2
<!-- Tell your future self why have you made these changes -->
**Why?**
Prevent issues after failover when a large number of heartbeat requests
arrive before replication. Activity heartbeat can happen very frequently
and result in a large number of requests.
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
<!-- Is it notable for release? e.g. schema updates, configuration or
data migration required? If so, please mention it, and also update
CHANGELOG.md -->
**Release notes**
Removing activity heartbeat from selected-apis-forwarding-v2 because of
issues after failover due to possible large volume of heartbeat requests
forwarded before event replication.
<!-- Is there any documentation updates should be made for config,
https://cadenceworkflow.io/docs/operation-guide/setup/ ? If so, please
open an PR in https://github.com/cadence-workflow/cadence-docs -->
**Documentation Changes**
Signed-off-by: fimanishi <[email protected]>1 parent 5c79d73 commit bc32f23
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
| |||
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
145 | | - | |
146 | | - | |
147 | 143 | | |
148 | 144 | | |
149 | 145 | | |
| |||
0 commit comments