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

ship history event diff with sticky task #406

Merged
merged 3 commits into from
Nov 14, 2017

Conversation

yiminc-zz
Copy link

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

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 66.116% when pulling 709c416 on yiminc:partial_history into e6697df on uber:master.

@@ -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 &&
Copy link
Contributor

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?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7827844 on yiminc:partial_history into ** on uber:master**.

@wxing1292
Copy link
Contributor

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

@coveralls
Copy link

coveralls commented Nov 14, 2017

Coverage Status

Coverage decreased (-0.01%) to 66.071% when pulling 9fa18fd on yiminc:partial_history into a866622 on uber:master.

@yiminc-zz yiminc-zz merged commit 7553066 into cadence-workflow:master Nov 14, 2017
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.

4 participants