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

Refactor memo to use mutable state #2288

Merged
merged 5 commits into from
Jul 26, 2019
Merged

Refactor memo to use mutable state #2288

merged 5 commits into from
Jul 26, 2019

Conversation

vancexu
Copy link
Contributor

@vancexu vancexu commented Jul 26, 2019

Currently, Memo is only using the first event (in event cache).
But to support carry over memo when continueAsNew, describeWorkflow with memo, and update memo in workflow, we need to add it to mutable state.

This PR add memo to mutable state and use it in transferQueue.

We can think about doing similar thing for ExecutionTime if needed for describe.

Copy link
Contributor

@yycptt yycptt left a comment

Choose a reason for hiding this comment

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

Please also update the TestDryrun test in ./tools/cassandra/updateTask_test.go

Also we need to keep the memo between continueAsNew?

@vancexu vancexu merged commit 7ea02e6 into master Jul 26, 2019
@vancexu vancexu deleted the refactMemo branch July 26, 2019 22:06
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