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

Matching sync match task should not have completion function #2307

Merged
merged 1 commit into from
Dec 16, 2021
Merged

Matching sync match task should not have completion function #2307

merged 1 commit into from
Dec 16, 2021

Conversation

wxing1292
Copy link
Contributor

What changed?

  • Remove completion function reference when doing sync matching

Why?
Existing logic will provide both resp channel & completion function when doing sync matching: https://github.com/temporalio/temporal/blob/v1.14.0/service/matching/taskQueueManager.go#L529
https://github.com/temporalio/temporal/blob/v1.14.0/service/matching/task.go#L83

However only resp channel will be used: https://github.com/temporalio/temporal/blob/v1.14.0/service/matching/task.go#L158

How did you test it?
Existing tests & CICD

Potential risks
N/A

Is hotfix candidate?
No

@wxing1292 wxing1292 requested a review from a team December 16, 2021 02:05
@wxing1292 wxing1292 requested a review from dnr December 16, 2021 02:07
@wxing1292 wxing1292 merged commit c95a34e into temporalio:master Dec 16, 2021
@wxing1292 wxing1292 deleted the simplify-sync-matching branch December 16, 2021 02:37
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