From e39d2ee675af48ef195b4142e494cc03a45e353f Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Tue, 14 Oct 2014 11:02:26 -0700 Subject: [PATCH] consul: Reap left members ignoring state. Fixes #371 --- consul/leader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/leader.go b/consul/leader.go index 87e065068b..d53473380b 100644 --- a/consul/leader.go +++ b/consul/leader.go @@ -197,7 +197,7 @@ func (s *Server) reconcile() (err error) { // a "reap" event to cause the node to be cleaned up. func (s *Server) reconcileReaped(known map[string]struct{}) error { state := s.fsm.State() - _, critical := state.ChecksInState(structs.HealthCritical) + _, critical := state.ChecksInState(structs.HealthAny) for _, check := range critical { // Ignore any non serf checks if check.CheckID != SerfCheckID {