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

Checking get workflow history when sticky decision task #631

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yux0
Copy link
Contributor

@yux0 yux0 commented Aug 24, 2021

We see NPE in ReplayDecider with line: decisionTask.getHistory().getEvents().get(0).getWorkflowExecutionStartedEventAttributes();

In ReplayDecisionTaskHandler, we have special handling for sticky decision task that has a partial history. But we do not check the returned history. So add a check to get workflow history when sticky decision task

@yux0 yux0 requested review from meiliang86 and a team August 24, 2021 17:46
@yux0 yux0 marked this pull request as draft August 24, 2021 17:50
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.

None yet

1 participant