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

Use executable task tracker to dedup tasks when stream is re-established #4310

Merged
merged 3 commits into from
May 11, 2023
Merged

Use executable task tracker to dedup tasks when stream is re-established #4310

merged 3 commits into from
May 11, 2023

Conversation

wxing1292
Copy link
Contributor

What changed?

  • Use executable task tracker to dedup tasks when stream is re-established

Why?
Better dedup

How did you test it?
N/A

Potential risks
N/A

Is hotfix candidate?
N/A

@wxing1292 wxing1292 requested a review from yux0 May 10, 2023 23:16
@wxing1292 wxing1292 requested a review from a team as a code owner May 10, 2023 23:16
@@ -82,13 +82,15 @@ func NewExecutableTaskTracker(
func (t *ExecutableTaskTrackerImpl) TrackTasks(
highWatermarkInfo WatermarkInfo,
tasks ...TrackableExecutableTask,
) {
) []TrackableExecutableTask {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: add a comment about what is the return tasks?

@wxing1292 wxing1292 enabled auto-merge (squash) May 11, 2023 05:17
@wxing1292 wxing1292 merged commit 8ed296c into temporalio:master May 11, 2023
@wxing1292 wxing1292 deleted the better-dedup branch May 11, 2023 05:43
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.

2 participants