Skip to content

Dedupe tasks on LeaderDoAssignment#906

Merged
shrinandthakkar merged 3 commits intolinkedin:masterfrom
jogrogan:dedupeTasks
Jun 6, 2022
Merged

Dedupe tasks on LeaderDoAssignment#906
shrinandthakkar merged 3 commits intolinkedin:masterfrom
jogrogan:dedupeTasks

Conversation

@jogrogan
Copy link
Copy Markdown
Collaborator

@jogrogan jogrogan commented May 2, 2022

Fixes crashing during LeaderDoAssignment by deduplicating tasks that contain the same task name.
This can happen if a leader change happens while saving an existing assignment change is already in progress.
If we reach this case, select one of the tasks as valid and remove the others.

@shrinandthakkar shrinandthakkar merged commit 981a32f into linkedin:master Jun 6, 2022
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