consul: Reap left members ignoring state. Fixes #371

This commit is contained in:
Armon Dadgar 2014-10-14 11:02:26 -07:00
parent 93b209db50
commit e39d2ee675

View File

@ -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 {