You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I am trying to figure out whether this is a real issue or whether we should handle undefined in the code. Modifying the code to handle undefined is simple enough but if this would hide a deeper issue I would like to figure that out if possible.
So should we expect mnesia:table_info(Tab, size) to return undefined?
Affected versions
24 at least based on reports.
The text was updated successfully, but these errors were encountered:
Describe the bug
Something unexpected happens to some RabbitMQ users:
mnesia:table_info(Tab, size)
returnsundefined
.Related ticket in the Prometheus.erl project: deadtrickster/prometheus.erl#133
The related code is very simple: loop over all tables, get the size and sum the sizes up: https://github.com/deadtrickster/prometheus.erl/blob/master/src/collectors/mnesia/prometheus_mnesia_collector.erl#L196-L201
To Reproduce
Don't know!
Expected behavior
I am trying to figure out whether this is a real issue or whether we should handle
undefined
in the code. Modifying the code to handleundefined
is simple enough but if this would hide a deeper issue I would like to figure that out if possible.So should we expect
mnesia:table_info(Tab, size)
to returnundefined
?Affected versions
24 at least based on reports.
The text was updated successfully, but these errors were encountered: