Skip to content
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

Fix SQL roundtrip issue for history event IDs #201

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Fix SQL roundtrip issue for history event IDs #201

merged 2 commits into from
Dec 18, 2023

Conversation

cgillum
Copy link
Member

@cgillum cgillum commented Dec 16, 2023

Fixes #198.

The other issue that resulted in this InvalidCastException is caused by Azure/durabletask#1018. This PR removes the root cause of the issue, which was that we're not correctly round-tripping event IDs for some history events (one of the downsides of custom event serialization). DurableTask.Core was making certain assumptions about the values of event IDs that weren't valid due to this bug.

@cgillum cgillum requested a review from bachuv December 16, 2023 00:52
Copy link
Contributor

@bachuv bachuv left a comment

Choose a reason for hiding this comment

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

LGTM!

@cgillum cgillum merged commit 63727fe into main Dec 18, 2023
2 checks passed
@cgillum cgillum deleted the fix198 branch December 18, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NewEvents stuck due to InvalidCastException
2 participants