emqx/changes
Kjell Winblad 1cf01197bb fix: increase heartbeat time to avoid extreme MongoDB logging
Our MongoDB driver creates a new temporary connection, for every active
connection, to just do a single heartbeat test. There is configurable
delay between every heartbeat test. When the user has an EMQX cluster
with a MongoDB bridge (to a MongoDB replica set), there will be a lot of
connections. Furthermore, as MongoDB creates a log entry every time a
new connection is created, the log will be flooded with info about new
connection. One user have reported more than 1MB of log data in a 10
minute period.

This commit tries to fix this by increasing the default delay between
heartbeats. A better fix would be to change the MongoDB driver so that
it does not create a new connection just to do a heartbeat check, but
this is more complicated so we leave this to the future. We might also
swap out the current MongoDB driver to something better.

Fixes:
https://github.com/emqx/emqx/issues/9851
2023-03-13 14:58:53 +01:00
..
ce fix: increase heartbeat time to avoid extreme MongoDB logging 2023-03-13 14:58:53 +01:00
ee Merge remote-tracking branch 'upstream/release-50' into 0310-merge-release-50-to-master 2023-03-10 08:48:32 +01:00
v5.0.16 Merge pull request #9893 from lafirest/feat/filiter_banned 2023-03-13 09:58:39 +08:00
e5.0.1.en.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
e5.0.1.zh.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
v5.0.1-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.2-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.3-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.4-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.5-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.6-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.7-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.8-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.9-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.9-zh.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.10-en.md chore: add missed changes 2022-12-15 16:16:27 +08:00
v5.0.10-zh.md chore: add missed changes 2022-12-15 16:16:27 +08:00
v5.0.11-en.md chore: update changes 2022-11-25 21:39:12 +08:00
v5.0.11-zh.md chore: update v5.0.12 changelog 2022-11-25 07:33:36 +08:00
v5.0.12-en.md docs: update change log, record fix with the right PR 2022-12-14 20:01:17 +01:00
v5.0.12-zh.md docs: update change log, record fix with the right PR 2022-12-14 20:01:17 +01:00
v5.0.13-en.md chore: move changelog entries to v5.0.15 2023-01-13 10:04:29 +01:00
v5.0.13-zh.md chore: move changelog entries to v5.0.15 2023-01-13 10:04:29 +01:00
v5.0.14-en.md docs: merge released change logs (v5.0.14) 2023-01-16 13:39:11 +01:00
v5.0.14-zh.md docs: merge released change logs (v5.0.14) 2023-01-16 13:39:11 +01:00
v5.0.15-en.md chore: Generate changelog for v5.0.15 2023-01-20 17:00:55 +01:00
v5.0.15-zh.md chore: Generate changelog for v5.0.15 2023-01-20 17:00:55 +01:00
v5.0.16-en.md chore: Generate changelog for v5.0.16 2023-02-02 17:43:01 +01:00
v5.0.16-zh.md chore: Generate changelog for v5.0.16 2023-02-02 17:43:01 +01:00
v5.0.17-en.md chore: update v5.0.17 changelog 2023-02-13 19:26:21 +08:00
v5.0.17-zh.md chore: update v5.0.17 changelog 2023-02-13 19:26:21 +08:00
v5.0.18.en.md docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
v5.0.18.zh.md docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
v5.0.19.en.md chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
v5.0.19.zh.md chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
v5.0.20.en.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
v5.0.20.zh.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00