Skip to content

Conversation

@shawnhathaway
Copy link
Contributor

What changed?

  • Removed ChildExecutionInfo and InternalChildExecutionInfo from the persistence pkg. Moved mutableState and the persistence interface to use persistenceblobs.ChildExecutionInfo.
  • Removed double serialization of started_event and initiated_event ; instead use correct HistoryEvent proto type

Why?

  • Double serialization is bad.
  • workflowMutableState needs to become a proto object

How did you test it?
Existing make tests

Potential risks
Wide test coverage on timeouts should catch this, behavioral changes are contained within persistence.

SignalRequestedIDs: response.State.SignalRequestedIDs,
ReplicationState: response.State.ReplicationState,
Checksum: response.State.Checksum,
ChildExecutionInfos: response.State.ChildExecutionInfos,
Copy link
Contributor

Choose a reason for hiding this comment

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

ChildExecutionInfos wasn't there at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

See the part I removed below.

@shawnhathaway shawnhathaway merged commit f2bf9b2 into temporalio:master Jul 28, 2020
@shawnhathaway shawnhathaway deleted the cei-collapse branch July 28, 2020 06:23
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