diff --git a/nomad/leader.go b/nomad/leader.go index 153a795250a..ce60966f4e4 100644 --- a/nomad/leader.go +++ b/nomad/leader.go @@ -348,6 +348,9 @@ func (s *Server) revokeLeadership() error { // Disable the eval broker, since it is only useful as a leader s.evalBroker.SetEnabled(false) + // Disable the blocked eval tracker, since it is only useful as a leader + s.blockedEvals.SetEnabled(false) + // Disable the periodic dispatcher, since it is only useful as a leader s.periodicDispatcher.SetEnabled(false)