diff options
| author | kjnilsson <knilsson@pivotal.io> | 2018-09-27 16:16:22 +0100 |
|---|---|---|
| committer | kjnilsson <knilsson@pivotal.io> | 2018-09-27 16:16:22 +0100 |
| commit | 7dc8cf46bd704576c48e89d93bad3b2ac6600871 (patch) | |
| tree | 5cdd8721bca41435e7afb50f26961e19f9e99995 /src | |
| parent | ee1f21168baa52e6bbd74201be54131640361e5e (diff) | |
| download | rabbitmq-server-git-7dc8cf46bd704576c48e89d93bad3b2ac6600871.tar.gz | |
Fix bug in metrics gc
The metrics cleanup for the channel_queue_metrics didn't handle the
updated metrics tuple arity.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_core_metrics_gc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_core_metrics_gc.erl b/src/rabbit_core_metrics_gc.erl index 9396368348..5435f403ee 100644 --- a/src/rabbit_core_metrics_gc.erl +++ b/src/rabbit_core_metrics_gc.erl @@ -138,7 +138,7 @@ gc_entity(Id, Table, Key, GbSet) -> end. gc_process_and_entity(Table, GbSet) -> - ets:foldl(fun({{Pid, Id} = Key, _, _, _, _, _, _, _}, none) + ets:foldl(fun({{Pid, Id} = Key, _, _, _, _, _, _, _, _}, none) when Table == channel_queue_metrics -> gc_process_and_entity(Id, Pid, Table, Key, GbSet); ({{Pid, Id} = Key, _, _, _, _}, none) |
