-
Notifications
You must be signed in to change notification settings - Fork 805
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
Persistence support for replication state for execution #604
Persistence support for replication state for execution #604
Conversation
Added support for workflow mutable state to create/read/update replication state for an execution. Suport for transfer task creation for Replication Task.
common/persistence/dataInterfaces.go
Outdated
@@ -164,6 +165,15 @@ type ( | |||
ClientImpl string | |||
} | |||
|
|||
// ReplicationState represents |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
@@ -0,0 +1,22 @@ | |||
-- Replication information for each cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz change the version from 0.5 to 0.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
schema/cadence/schema.cql
Outdated
schedule_id bigint, | ||
first_event_id bigint, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add some description here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
common/persistence/dataInterfaces.go
Outdated
// ReplicationTask is the transfer task created for shipping history replication events to other clusters | ||
ReplicationTask struct { | ||
TaskID int64 | ||
DomainID string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this DomainID necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. Replication task is always going to be for the same domain. Removed.
Added support for workflow mutable state to create/read/update
replication state for an execution.
Support for transfer task creation for Replication Task.
Added unit test for replication state for execution