-
Notifications
You must be signed in to change notification settings - Fork 818
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
ship history event diff with sticky task #406
Conversation
service/frontend/handler.go
Outdated
@@ -391,9 +391,16 @@ func (wh *WorkflowHandler) PollForDecisionTask( | |||
if matchingResp.WorkflowExecution != nil { | |||
// Non-empty response. Get the history | |||
nextEventID := common.Int64Default(matchingResp.StartedEventId) + 1 | |||
firstEventID := common.FirstEventID | |||
if matchingResp.StickyExecutionEnabled != nil && |
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.
Why can't you use the generated getter?
709c416
to
7827844
Compare
Changes Unknown when pulling 7827844 on yiminc:partial_history into ** on uber:master**. |
i think you can merge the changes from https://github.com/uber/cadence/pull/407/files common/persistence/cassandraHistoryPersistence.go line 195-197 and common/persistence/cassandraHistoryPersistence_test.go to this PR |
7827844
to
9fa18fd
Compare
ship partial history with decision task. For query task, it won't use sticky task list, and will continue to ship full history. This will be addressed separately. #405