The  Alerts.alerts run the `func (a *Alerts) gc()`, at the same time, 
`aggrGroup.flush` is run.

Some alert is resolved, so in the Alerts.alerts callback could delete fp 
from `Marker`. But, `aggrGroup.flush` with inhibitor and silencer could 
enter `Marker.SetInhibited` or `Marker.SetSilenced`, and then the fp will 
always hold by Marker in the memory.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/58890938-100a-4853-bf1c-7dc5f52e249eo%40googlegroups.com.

Reply via email to