temporalio / temporalio/temporal

Heartbeat WorkflowTask during history pagination

Open
#674 4 comments 0 reactions 1 assignee View on GitHub

@yiminc is already working on this.

Since Jul 3, 2021.

difficulty: medium enhancement operations
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.
For workflow executions with long history it could take a longer than workflow task timeout
to paginate through history events during replay. This would result in workflow task timeout
which would be very bad for the system as now this task would be retried on a different host
which would again result in replaying the history from beginning.

Describe the solution you'd like
One potential solution is to introduce a new concept of workflow task heartbeat while client
is paginating through history during replay. This way we can keep on renewing the workflow
task timeout while client is paginating through history events during replay.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.