Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move autopilot initialization to prevent race (#5322)
`establishLeadership` invoked during leadership monitoring may use autopilot to do promotions etc. There was a race with doing that and having autopilot initialized and this fixes it.
- Loading branch information