Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Internal] Do not use a background thread to disconnect node which ar…
…e remove from the ClusterState After a node fails to respond to a ping correctly (master or node fault detection), they are removed from the cluster state through an UpdateTask. When a node is removed, a background task is scheduled using the generic threadpool to actually disconnect the node. However, in the case of temporary node failures (for example) it may be that the node was re-added by the time the task get executed, causing an untimely disconnect call. Disconnect is cheep and should be done during the UpdateTask. Closes #7543
- Loading branch information