Skip to content

Conversation

@yycptt
Copy link
Member

@yycptt yycptt commented May 14, 2023

What changed?

  • Truncate activity failure before storing it in mutable state
  • Introduced new warn & error limit for mutable state activity failure size
    NOTE: this change should not break users (unless user has logic depend on workflow history). Activity failures stored in workflow mutable state is not visible to workflow code and can only be retrieved via describeWorkflowExecution.

Why?

  • Prevent large mutable state

How did you test it?
Added unit test

Potential risks

Is hotfix candidate?

  • Yes.

@yycptt yycptt requested review from alexshtin and yiminc May 14, 2023 20:47
@yycptt yycptt requested a review from a team as a code owner May 14, 2023 20:47
@yycptt yycptt merged commit 9d7545b into temporalio:master May 15, 2023
@yycptt yycptt deleted the truncate-ms-activity-failure branch May 15, 2023 17:59
@MikePresman
Copy link

MikePresman commented Feb 21, 2024

Further detail for the "why" would be appreciated. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants