Skip to content

Commit

Permalink
[Wf-Diagnostics] update troubleshooting guide for blob size limits (#203
Browse files Browse the repository at this point in the history
)

* [Wf-Diagnostics] update troubleshooting guide for blob size limits

* Update src/docs/08-workflow-troubleshooting/02-activity-failures.md

Co-authored-by: Jakob Haahr Taankvist <[email protected]>

* Update src/docs/08-workflow-troubleshooting/02-activity-failures.md

Co-authored-by: Jakob Haahr Taankvist <[email protected]>

* Update 02-activity-failures.md

---------

Co-authored-by: Jakob Haahr Taankvist <[email protected]>
  • Loading branch information
sankari165 and jakobht authored Jan 3, 2025
1 parent 000c888 commit b792f3b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/docs/08-workflow-troubleshooting/02-activity-failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ Mitigation: This error is caused by something unexpected within the activity cod

Read more about [error handling](https://cadenceworkflow.io/docs/go-client/error-handling/)

## Blob Size limits
Description: This is an error caused when a decision contains data that exceeds the configured limit. If an API call contains data that exceeds the limit, the API call will fail. These limits are dynamically configured per cadence domain [link to code](https://github.com/cadence-workflow/cadence/blob/master/common/dynamicconfig/constants.go#L2938).

Mitigation: It is recommended to store the data elsewhere in another storage technology and using its reference. The workflow can then take that reference and pass it around to other parts of the workflow to retrieve that data.

Cadence enforces the maximum blob size in several cases. Some of these are:

- Signal input
- Workflow input and output
- Workflow continueAsNew input
- Activity input and output
- Workflow/Activity error_details
- Record marker
- Heartbeat details

0 comments on commit b792f3b

Please sign in to comment.