Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-21991][LAUNCHER] Fix race condition in LauncherServer#acceptCo…
…nnections ## What changes were proposed in this pull request? This patch changes the order in which _acceptConnections_ starts the client thread and schedules the client timeout action ensuring that the latter has been scheduled before the former get a chance to cancel it. ## How was this patch tested? Due to the non-deterministic nature of the patch I wasn't able to add a new test for this issue. Author: Andrea zito <andrea.zito@u-hopper.com> Closes #19217 from nivox/SPARK-21991. (cherry picked from commit 6ea8a56)
- Loading branch information