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

executor: open doubleread close test and fix bug. #3316

Merged
merged 4 commits into from
May 23, 2017
Merged

Conversation

hanfei1991
Copy link
Member

Open an old test and fix double read's bug.

@hanfei1991 hanfei1991 requested review from shenli and tiancaiamao May 23, 2017 05:15
@hanfei1991 hanfei1991 force-pushed the hanfei/doubleread branch from c55b462 to 1e02151 Compare May 23, 2017 05:17
}
e.executeTask(task, childCtx)
case <-childCtx.Done():
}
Copy link
Contributor

Choose a reason for hiding this comment

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

return here

go func() {
childCtx, cancel := goctx.WithCancel(txnCtx)
defer cancel()
select {
Copy link
Contributor

Choose a reason for hiding this comment

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

the old code forget the for loop

@XuHuaiyu
Copy link
Contributor

LGTM

1 similar comment
@tiancaiamao
Copy link
Contributor

LGTM

@hanfei1991 hanfei1991 merged commit d2557fe into master May 23, 2017
@hanfei1991 hanfei1991 deleted the hanfei/doubleread branch May 23, 2017 08:27
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.

3 participants