Zaiming Shi
88efc6612d
Merge remote-tracking branch 'origin/main-v4.4' into chore/rename-packages-name
2021-11-16 09:47:13 +01:00
Zaiming Shi
2dc63cffea
fix(emqx_misc): call gen_tcp to decide if ipv6_probe is supported
2021-11-16 08:37:53 +01:00
Zaiming Shi
d05e2ff0b1
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4-alpha.1
2021-11-15 13:41:51 +01:00
lafirest
0357f7ad85
improve(emqx_st_statistics): optimize the parameters of on_publish_done ( #6151 )
...
* fix(emqx_st_statistics): optimize the parameters of on_publish_done
2021-11-15 11:00:04 +08:00
JianBo He
641f36514f
chore: fix elvis warnings
2021-11-15 09:50:32 +08:00
JianBo He
6fb3ff1f9f
feat(exhook): expose headers for on_messages_publish hook
2021-11-15 09:50:32 +08:00
zhongwencool
8bf6668e4c
Set keepalive via http api ( #6143 )
...
* feat: set keepalive over http api
* chore: elvis warning
* fix: bump retainer to 4.4.0
2021-11-12 20:11:59 +08:00
lafirest
a4a7cac647
fix(eqmx_st_statistics): add ignore_before_create in config ( #6140 )
...
1. allows not to process the message before the session is created
to solve the problem caused by clean session = false
2. fix some elvis errors
2021-11-12 14:00:48 +08:00
zhongwencool
835ad52498
feat(trace): http api for trace ( #6052 )
...
* feat(trace): add http trace API
* feat: sub/unsub trace topic
* chore(trace): stream log use _page and _limit
* fix: elvis warning
* fix: mod_trace test failed
* fix: http api meta rename _page/_limit to _page/_limit
* fix: clientid string not working
* fix: add emqx_mod_trace to module
* fix(trace): fixed by review suggestions
2021-11-11 14:54:40 +08:00
JianBo He
86b8d88165
chore(emqx): update appup.src
2021-11-11 11:55:57 +08:00
JianBo He
8f07f26744
fix: ensure starting listeners before plugins
2021-11-11 11:37:54 +08:00
Zaiming Shi
6222e1b0eb
Merge remote-tracking branch 'origin/main-v4.3' into sync-v4.3-to-v4.4
2021-11-08 21:01:14 +01:00
Thales Macedo Garitezi
b9270ad719
feat(stats): track live / connected channel count for monitoring
...
In order to correctly display the number of connected clients in our
monitor dashboard, we need to track those connections that are
actually connected to clients, not considering connections from
persistent sessions that are disconnected. Today, the
`connections.count` that is displayed in the dashboards considers
those disconnected persistent sessions as well.
2021-11-08 14:45:57 -03:00
k32
7d07e8d948
chore(emqx): Update version and appup file
2021-11-08 14:24:37 +01:00
k32
27afecb3ac
fix(emqx_connection): Introduce backpressure while sending data
...
Fixes #5494
2021-11-04 15:25:34 +01:00
JianBo He
f36abc281a
chore(types): add comment for ver type
2021-11-04 09:11:02 +08:00
lafirest
f8acb31f89
feat: add slow topics statistics plugin
2021-11-03 17:20:07 +08:00
JianBo He
2c4d3d1d24
chore(stomp): fix dialyzer warnings
2021-11-02 17:09:57 +08:00
JianBo He
763f567f7d
chore(appup): update appup.src
2021-11-01 18:35:41 +08:00
JianBo He
c9d39b4d35
chore(channel): remove redundant logs
...
Multiple sock_closed events may be generated,
so we need to allow sock_closed events to be reentrant
2021-11-01 18:17:38 +08:00
Zaiming Shi
fb62487801
fix(emqx/appup): add emqx_cm to appup
2021-10-30 16:39:04 +02:00
Zaiming Shi
7f4809f61a
fix(session): force kill session for 'kick' and 'discard'
...
Prior to this fix, 'kick' and 'discard' calls may timeout (or
fail for other reason), failures lead to only a log, then
continue to allow the new session to get registered.
As a result, in case a client is stuck, there is no way to
force it to step down, end up with multiple connections (sessions)
for the client ID in dashboard.
After this fix, the stale pids are notified to shutdown
via a gen_server:call, and forced with a exit(Pid, kill) for any
exception happend to the gen_server:call
2021-10-30 16:38:36 +02:00
Zaiming Shi
9038da0bd2
fix(ws_connection): check origin failure should return 403 not 500
2021-10-15 15:49:26 +08:00
k32
4643415b0b
chore(appup): Update appup scripts
2021-10-12 17:45:10 +02:00
Ilya Averyanov
85723e4a35
fix(emqx_rpc): removed unnecessary call wrapper
2021-10-11 15:20:31 +03:00
Zaiming Shi
7804b39e08
chore(emqx.app): bump emqx app to vsn 4.3.10
...
app 4.3.9 was release as a part of enterprise e4.3.4
but opensource v4.3.9 is not releasd yet, but we have
to bump app version to 4.3.10 to make appup work for the next
release (either opensource or enterprise).
2021-10-05 12:03:47 +02:00
JimMoen
19031e21ec
fix(frame): variable byte integer could be larger than 4 bytes.
2021-09-28 15:15:05 +08:00
k32
9b097ac73f
chore(mqueue): Remove forgotten debug message
2021-09-07 11:33:16 +02:00
k32
5fc1036cf7
chore(mqueue): Implement live upgrade
2021-09-06 23:15:14 +02:00
k32
ed61999fdf
chore(emqx): Bump version
2021-09-06 22:22:48 +02:00
k32
4eacaa29bd
feat(mqueue): Interleave messages with different priorities
2021-09-06 22:22:48 +02:00
Shawn
1245020ec0
fix(force_shutdown): add some comments for the range of max_heap_size
2021-08-13 09:46:49 +08:00
Shawn
844133c7c5
fix(appup): always reload emqx_app
2021-08-13 09:46:49 +08:00
Shawn
f9601804e5
chore(emqx): bump the emqx version to 4.3.8
2021-08-13 09:46:49 +08:00
Shawn
31a1942b61
fix(force_shutdown): cannot suicide if the process hangs up
2021-08-13 09:46:49 +08:00
Turtle
c45de03ac8
chore(version): update emqx version to 4.3.7
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-05 10:00:03 +08:00
Turtle
87ee94b6f2
chore(version): update emqx version to 4.3.7
2021-08-04 18:44:47 +08:00
JianBo He
d3d019cb89
chore(emqx): update appup.src
2021-07-28 13:54:13 +08:00
JianBo He
07c29e8c55
chore(acl): support ipaddr list
2021-07-28 13:54:13 +08:00
Zaiming Shi
dd23ee6b15
fix(emqx_app): stop listeners in application prep_stop callback
...
Application:stop is call after the root supervisor is stopped,
in our case, prior to this fix, emqx_sup is stopped before
the listeners (hence the emqx_connection processes).
This causes shutdown to emit a lot of error logs
e.g. emqx_broker pool is down, but emqx_connection process is still
trying to call the pool
2021-07-28 08:52:04 +08:00
Turtle
5edb5351b0
chore(relup): update emqx appup
2021-07-16 19:01:05 +08:00
JianBo He
46d0cb69dc
chore(emqx): update appup.src
2021-07-13 17:53:34 +08:00
JianBo He
240a4b88a5
fix(cm): add a timeout to rpc_call function
...
An infinite wait will leave the client process waiting for
a return and cause the client to go to a dead state
2021-07-13 17:53:34 +08:00
Shawn
5fbf83e7f0
fix(shared_sub): discard all unexpected msgs
2021-06-28 09:37:34 +08:00
Shawn
513cd001ac
chore(appup): update the appup for 4.3.5
2021-06-25 20:38:43 +08:00
Shawn
868cd6e57c
fix(shared_sub): failed to clean the emqx_shared_subscription tab
...
A trick that fixes the issue that we demonitored the shared subscriber
too early if it not unsubscribed all of the topics.
2021-06-25 20:38:43 +08:00
Turtle
1a438125c7
chore(review): review 4.3.4
2021-06-23 17:51:17 +08:00
JianBo He
3ddbdbc6c1
fix(emqx_cm): catch noproc exception from rpc_call ( #5048 )
2021-06-23 09:45:24 +08:00
JianBo He
bbed1b55e0
fix(ws): avoid funcation_clause for un-inited websocket
2021-06-15 11:27:47 +08:00
JianBo He
42a6f2aba5
fix(mqttsn): fix proto_name to MQTT-SN instead of MQTT ( #4961 )
2021-06-11 11:08:24 +08:00