diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2020-10-13 12:41:42 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2020-10-13 18:19:39 +0200 |
| commit | 1ce9df26951db79a052d75651c84e5ffca397846 (patch) | |
| tree | 13edea99f7db7513c29e1417762fcd02829e3b6b /Makefile | |
| parent | e555f5ca02f27a123638565335f928f017662396 (diff) | |
| download | rabbitmq-server-git-1ce9df26951db79a052d75651c84e5ffca397846.tar.gz | |
rabbit_channel_tracking: Don't update channel tracking directly when a connection is closed
Tracking is already taken care of when each channel is closed.
Removing this concurrent call to `unregister_tracked()` fixes a
double-decrease of the counter. The reason is the counter is updated
outside of a transaction and is therefore sensitive to concurrent
read/modify/write sequences.
A transaction would be a more appropriate solution, but it may be too
resources-intensive in the scenario of high connection/channel churn.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
