From b792f3b0e80b103c67d228458026e4199989b031 Mon Sep 17 00:00:00 2001 From: sankari gopalakrishnan Date: Fri, 3 Jan 2025 10:00:16 +0100 Subject: [PATCH] [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 * Update src/docs/08-workflow-troubleshooting/02-activity-failures.md Co-authored-by: Jakob Haahr Taankvist * Update 02-activity-failures.md --------- Co-authored-by: Jakob Haahr Taankvist --- .../02-activity-failures.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/docs/08-workflow-troubleshooting/02-activity-failures.md b/src/docs/08-workflow-troubleshooting/02-activity-failures.md index 31e044830..4d8ce8fdb 100644 --- a/src/docs/08-workflow-troubleshooting/02-activity-failures.md +++ b/src/docs/08-workflow-troubleshooting/02-activity-failures.md @@ -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 \ No newline at end of file