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
feat: Write DLQ tasks when Standby processing timeout is reached (#8022)
<!-- If you are new to contributing or want a refresher, please read
./pull_request_guidance.md -->
**What changed?**
Adds a new post action function that writes to the History Task DLQ
rather than discarding the task.
**Why?**
Discarding a task is a complete loss of data. In rare scenarios, it
could be possible that tasks are discarded from both clusters (in a
multi-cluster setup), resulting in the inability to continue a workflow.
**How did you test it?**
To run the unit tests:
```
go test ./service/history/...
```
To run a full integration test requires additional persistence changes
which are coming in a follow up PR.
**Potential risks**
This is hidden behind a feature flag. Premature enablement of this flag
should not result in running the code path, as the DLQWriter has yet to
be wired up to enable writing to the DLQ.
**Release notes**
N/A
**Documentation Changes**
N/A
0 commit comments