Skip to content

Commit b792f3b

Browse files
sankari165jakobht
andauthored
[Wf-Diagnostics] update troubleshooting guide for blob size limits (#203)
* [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]>
1 parent 000c888 commit b792f3b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,17 @@ Mitigation: This error is caused by something unexpected within the activity cod
2525

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

28+
## Blob Size limits
29+
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).
30+
31+
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.
32+
33+
Cadence enforces the maximum blob size in several cases. Some of these are:
34+
35+
- Signal input
36+
- Workflow input and output
37+
- Workflow continueAsNew input
38+
- Activity input and output
39+
- Workflow/Activity error_details
40+
- Record marker
41+
- Heartbeat details

0 commit comments

Comments
 (0)