boundary / folsom

Expose Erlang Events and Metrics
Apache License 2.0
586 stars 166 forks source link

A crash of `folsom_metrics_histogram_ets` breaks all `spiral` metrics #55

Closed russelldb closed 10 years ago

russelldb commented 11 years ago

Due to the ordering here https://github.com/boundary/folsom/blob/master/src/folsom_ets.erl#L300 of deletes, a crashed spiral ets table means a spiral metric can never be deleted, and therefore re-created. Such a crash leaves any app that updates a spiral broken until folsom is restarted.