mirror of https://github.com/hashicorp/consul
Browse Source
This fixes #2896 by switching to the `notifyCh` instead of the `leaderCh`, so we get all up/down events from Raft regarding leadership. We also wait for the old leader loop to shut down before we ever consider starting a new one, which keeps that single-threaded and fixes the panic in that issue.pull/2911/head
James Phillips
8 years ago
2 changed files with 23 additions and 2 deletions
Loading…
Reference in new issue