Skip to content

TerminateIfRunning workflowID reuse policy#2608

Merged
yycptt merged 5 commits intotemporalio:masterfrom
yycptt:terminate-if-running
Mar 21, 2022
Merged

TerminateIfRunning workflowID reuse policy#2608
yycptt merged 5 commits intotemporalio:masterfrom
yycptt:terminate-if-running

Conversation

@yycptt
Copy link
Copy Markdown
Member

@yycptt yycptt commented Mar 14, 2022

What changed?

  • TerminateIfRunning workflowID reuse policy

Why?

How did you test it?

  • Added new integration test
  • Tested locally.

Potential risks

Is hotfix candidate?
no

@yycptt yycptt requested review from wxing1292 and yiminc March 14, 2022 17:16
@yycptt yycptt requested a review from a team as a code owner March 14, 2022 17:16
Comment thread service/history/historyEngine.go Outdated
@yycptt yycptt requested a review from yiminc March 17, 2022 19:26
Comment thread service/history/historyEngine.go Outdated
newExecution commonpb.WorkflowExecution,
wfIDReusePolicy enumspb.WorkflowIdReusePolicy,
) error {
) (prevExecutionUpdateFn updateWorkflowActionFunc, err error) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why do you need these named return value?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I can convert it to a comment. Just want to provide some info what this update action func is for.

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.

3 participants