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

Dedupe tasks on LeaderDoAssignment #906

Merged
merged 3 commits into from
Jun 6, 2022

Conversation

jogrogan
Copy link
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