Skip to content

Fix replay error when querying workflow that contains activity retry #532

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 3 commits into from
Sep 28, 2020

Conversation

vancexu
Copy link
Contributor

@vancexu vancexu commented Sep 25, 2020

The fix #526 will cause query replay error when workflow contains activity with retry option.
This PR attempt to fix it by honor original getVersion logic to ensure event ID assigned correctly, but use visited event info as source of truth for version.

@vancexu vancexu requested a review from meiliang86 September 25, 2020 09:07
@vancexu vancexu changed the title Fix replay error for async retry Fix replay error when querying workflow that contains activity retry Sep 25, 2020
@vancexu vancexu requested a review from mkolodezny September 28, 2020 18:44
@meiliang86 meiliang86 merged commit f984029 into cadence-workflow:master Sep 28, 2020
@vancexu vancexu deleted the retryfix branch September 28, 2020 23:50
mkolodezny pushed a commit to mkolodezny/cadence-java-client that referenced this pull request Nov 12, 2020
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.

2 participants