When a newly elected leader receives an instance-task assignment from ZK, it is expected that the leader will perform a cleanup routine on the assignment. Failure to do so may lead to inconsistencies in task assignment across instances.
At present, the pre-assignment cleanup only checks for dependency tasks in the current host's assignment and cleans them up accordingly. This process does not extend to other hosts, meaning that if the same task (a dependency list task) is assigned to another host, due to any unforeseen circumstances, it will not be cleaned up.
This is not a bug, rather it is a safety measure to restore the assignments in the event of a new leader being elected following a bad task assignment.
Important: DO NOT REPORT SECURITY ISSUES DIRECTLY ON GITHUB.
For reporting security issues and contributing security fixes,
please, email security@linkedin.com instead, as described in
the contribution guidelines.
Summary
Important: DO NOT REPORT SECURITY ISSUES DIRECTLY ON GITHUB.
For reporting security issues and contributing security fixes,
please, email security@linkedin.com instead, as described in
the contribution guidelines.
Please, take a minute to review the contribution guidelines at:
https://github.com/linkedin/Brooklin/blob/master/CONTRIBUTING.md