1
0
Fork 0

Log when Store closes

master
Philip O'Toole 1 year ago
parent f3c192a12e
commit e8e0381622

@ -521,6 +521,7 @@ func (s *Store) Close(wait bool) (retErr error) {
// Protect against closing already-closed resource, such as channels.
return nil
}
s.logger.Printf("closing store with node ID %s", s.raftID)
close(s.appliedIdxUpdateDone)
close(s.observerClose)

Loading…
Cancel
Save