Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The interaction of continuous query service, the meta-store loading and initializing raft state, and syncing node info could cause a deadlock in some instances. There was an extra read-lock taken by isLeader() when it already had a read-lock. Removing this extra lock fixes the startup deadlock. Fixes influxdata#3607 (Cherry-picked from 0286a3e)
- Loading branch information