8000 Add corruption protection to ms by wxing1292 · Pull Request #4560 · temporalio/temporal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add corruption protection to ms #4560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 29, 2023
Merged

Add corruption protection to ms #4560

merged 5 commits into from
Jun 29, 2023

Conversation

wxing1292
Copy link
Contributor

What changed?

  • Add corruption protection to ms

Why?
N/A

How did you test it?
N/A

Potential risks
N/A

Is hotfix candidate?
N/A

@wxing1292 wxing1292 requested a review from a team as a code owner June 29, 2023 17:28
tag.WorkflowRunID(ms.executionState.RunId),
tag.Value(ms.hBuilder),
)
return false, serviceerror.NewInternal("MutableState encountered dirty transaction")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we return an retryable error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this logic should return internal since the sanity check failed. however, if the internal error will not be retried then the error type should be changed, what do you suggest?

@wxing1292 wxing1292 enabled auto-merge (squash) June 29, 2023 19:42
@wxing1292 wxing1292 merged commit 598aa47 into temporalio:master Jun 29, 2023
@wxing1292 wxing1292 deleted the protection branch June 29, 2023 20:20
mindaugasrukas pushed a commit that referenced this pull request Jun 29, 2023
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.

4 participants
0