zhongwencool
dd86ece33e
Merge pull request #7308 from zhongwencool/set-keepalive-via-body
...
feat: Support set keepalive via queryString & Body HTTP API.
2022-03-15 14:30:42 +08:00
zhongwencool
4adc914372
feat: Support set keepalive via queryString & Body HTTP API.
2022-03-15 10:40:01 +08:00
Chris Hicks
32fac8b67b
Merge pull request #7299 from mononym/fix-typo-in-log-message
...
fix: typo in log message
2022-03-14 12:55:04 +01:00
Chris
55eddfa16c
fix: typo in log message
2022-03-14 10:18:18 +01:00
JimMoen
8ea84e4a01
chore(appup): update appup.src
2022-03-10 12:12:42 +08:00
JimMoen
c0b688b51f
feat(frame): utf-8 string check in `strict_mode`
2022-03-10 11:23:44 +08:00
Zaiming (Stone) Shi
27617539f1
fix(appup): adjust update-appup.sh for 4.4.
2022-03-08 19:31:21 +01:00
Zaiming (Stone) Shi
571456b3c4
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-03-08 18:59:38 +01:00
Zaiming (Stone) Shi
d8e29f19cb
refactor(appup): always generate appup from script
2022-03-08 13:24:54 +01:00
DDDHuang
fbd70b02bc
fix: override plugins list
2022-03-07 10:32:49 +08:00
DDDHuang
278fa96bc1
fix(plugins): usort plugin list
2022-03-04 10:46:09 +08:00
JianBo He
a94dc87c34
chore: add missed appup instructions
2022-03-03 11:20:50 +08:00
JianBo He
f0be91b7fd
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-03-03 11:13:45 +08:00
Shawn
77e3c1d3ac
feat(relup): support providing 'Extra' parameter from appup.src
2022-03-02 10:48:10 +08:00
Shawn
41afbd2b13
refactor(relup): don't collect relvsn -> appvsn mappings
2022-03-01 23:10:11 +08:00
Zaiming (Stone) Shi
cca9e52c9a
chore(appup): add missing appup instructions
2022-03-01 11:41:52 +01:00
Shawn
7698ad7c4b
chore(relup): print more info after release upgrade complete
2022-03-01 17:15:19 +08:00
zhongwencool
b1816a6647
fix: add uptime/1 for CT test.
2022-03-01 14:19:37 +08:00
zhongwencool
ed41a66c6e
fix: rpc get node info maybe crash when emqx_sys process is not start yet.
2022-03-01 14:19:35 +08:00
Shawn
a7791b6c58
fix(relup): download to 4.4.0 failed with error bad_lib_vsn
2022-03-01 11:33:49 +08:00
Shawn
bcd56d3db2
Merge branch 'main-v4.4' into inject_relup_instructions_v4.4
2022-02-28 19:13:55 +08:00
Shawn
28bd2fcfa4
fix(relup): release upgrade failed with {bad_lib_vsn,emqx,"4.4.2"}
2022-02-27 20:04:21 +08:00
Shawn
17440b2b53
fix(relup): add module emqx_relup
2022-02-27 10:25:57 +08:00
Zaiming (Stone) Shi
cc8168ba23
chore(appup): commit script updated emqx.app.src
2022-02-26 16:45:55 +01:00
Zaiming (Stone) Shi
c157a16907
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-02-26 01:05:06 +01:00
Thales Macedo Garitezi
cf1cc7e9db
chore(appup): update appup files
2022-02-24 17:14:47 -03:00
Thales Macedo Garitezi
6b93127ecb
fix(sys_mon): guard before calling `erlang:port_info`
...
Port of #7108 .
Sometimes, the `emqx_sys_mon:procinfo/1` might be called with
something that is not a port, like `[]`. Not sure on the conditions
for this to happen.
```
2022-02-18T20:05:02.671592+00:00 [error] Generic server emqx_sys_mon terminating. Reason: {badarg,[{erlang,port_info,[[]],[{error_info,#{module => erl_erts_errors}}]},{emqx_sys_mon,portinfo,1,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,205}]},{emqx_sys_mon,'-handle_info/2-fun-5-',2,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,150}]},{emqx_sys_mon,suppress,3,[{file,"/emqx/apps/emqx/src/emqx_sys_mon.erl"},{line,184}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,695}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,771}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}]}. Last message: {monitor,<0.7796.0>,busy_dist_port,[]}. State: #{events => [{busy_dist_port,#Port<0.127>}],timer => #Ref<0.2758388682.1853620226.133920>}.
```
2022-02-24 16:28:35 -03:00
JianBo He
d622eb848f
refactor(cm): rename takeover -> request_stepdown
...
see: https://github.com/emqx/emqx/pull/7026#pullrequestreview-891954135
2022-02-24 14:43:46 +08:00
JianBo He
4673ca43a0
chore(emqx): update appup.src
2022-02-24 11:51:00 +08:00
JianBo He
bfd0fd9019
refactor(cm): rename call_or_kill to takeover
2022-02-24 11:50:57 +08:00
JianBo He
6dd0b49dd2
feat(cm): force shutdown of processe that cannot answer takeover event
...
Related PR: #6030
2022-02-24 09:53:17 +08:00
William Yang
372ea29d96
fix: upgrade code, system mem false alarm
2022-02-23 09:38:54 +01:00
William Yang
841d6d5036
fix: system mem false alarm
2022-02-23 09:14:28 +01:00
JianBo He
6b720286c6
chore: fix bad sytanx for emqx.appup.src
2022-02-22 11:55:20 +08:00
JianBo He
521bdd20b4
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-02-22 11:43:46 +08:00
JianBo He
a2d8405f99
chore: update appup.src
2022-02-22 10:30:52 +08:00
JianBo He
b802bcb6fc
refactor(exproto): pre-register the anonymous client
2022-02-22 10:23:16 +08:00
JimMoen
31b006a0d1
fix(frame): `server_keepalive` only for MQTT v5.0
2022-02-21 18:46:53 +08:00
Ilya Averyanov
557c52dd8a
chore(codestyle): remove Elvis
2022-02-18 20:35:19 +03:00
JianBo He
a42927f173
chore(emqx): fix mutiply defined module in emqx.appup.src
2022-02-16 13:46:38 +08:00
Thales Macedo Garitezi
3f31df2297
docs: add comment explaining application and release vsn discrepancy
2022-02-14 13:18:53 -03:00
Thales Macedo Garitezi
acf3b8cbe9
chore(emqx): update appup
2022-02-14 13:18:07 -03:00
Thales Macedo Garitezi
8302cac329
fix(channel): wrong case clause when alias is inexistent
...
Fixes #6978 .
2022-02-14 13:18:07 -03:00
JianBo He
a88dd4aaa5
Merge tag 'v4.3.12' into main-v4.4
2022-02-14 19:37:59 +08:00
DDDHuang
e9f1af8098
feat(ws): appup remove old
2022-02-11 11:16:31 +08:00
DDDHuang
c6bafd5131
feat(ws): appup
2022-02-11 11:04:14 +08:00
DDDHuang
0bb01210ae
feat(ws): more client metrics
2022-02-11 10:50:46 +08:00
Shawn
646ef25d96
Merge branch 'main-v4.3' into fix-ctl-print-43
2022-02-10 19:13:29 +08:00
Zaiming (Stone) Shi
1392fa0b1d
Merge remote-tracking branch 'origin/main-v4.3' into merge-v4.3-to-v4.4
2022-02-10 11:25:17 +01:00
Shawn
8cf268dffb
fix: emqx_message:format/1 failed on undefined message id
2022-02-10 12:43:39 +08:00
Shawn
038136fc83
fix(appup): update appup file for module emqx_message
2022-02-10 11:04:25 +08:00
Shawn
3b5b4b99ed
fix(log): format the message id to hexstring before printing
2022-02-10 09:47:33 +08:00
Thales Macedo Garitezi
e053700441
style: please elvis checks
2022-02-09 11:02:05 -03:00
Thales Macedo Garitezi
5e223ac64f
chore(appup): update appup files
2022-02-09 09:54:39 -03:00
Thales Macedo Garitezi
b968d4c416
fix(ctl): fix formatting when printing messages without arguments (4.3)
...
Without passing an empty argument list to `emqx_ctl:print`, formatting
instructions like `~n` are being printed literally.
```
Ignore.~nJoin the cluster successfully.~nCluster status: #{running_nodes =>
['emqx@emqx-0.int.thalesmg','emqx@emqx-1.int.thalesmg',
'emqx@emqx-2.int.thalesmg','emqx@emqx-3.int.thalesmg',
'emqx@emqx-4.int.thalesmg'],
stopped_nodes => []}
```
2022-02-09 09:36:27 -03:00
Shawn
31a68f4627
fix(appup): No such module: emqx_mod_sup
2022-01-28 14:33:18 +08:00
Shawn
0500c475cf
fix(appup): Multiply defined module: emqx_slow_subs
2022-01-28 12:22:29 +08:00
Shawn
d15fd95ad4
fix(appup): Multiply defined module: emqx_session
2022-01-28 11:54:10 +08:00
Shawn
791b22f151
Merge branch 'main-v4.4' into copy_of_main-v4.3
2022-01-27 18:46:49 +08:00
Shawn
6319c3402f
fix(appup): Multiply defined module: emqx_metrics
...
make emqx-zip failed:
```
===> Error generating relup:
Multiply defined module: emqx_metrics
```
2022-01-27 18:01:17 +08:00
zhongwencool
e2dec09b0d
fix(alarm): watermark replace >= =< with > <
2022-01-27 11:59:48 +08:00
zhongwencool
9d633507f5
fix(appup): add emqx.erl to appup.src
2022-01-26 14:32:00 +08:00
Zaiming (Stone) Shi
16a5eb4493
Merge remote-tracking branch 'origin/main-v4.3' into merge-v4.3-to-v4.4
2022-01-25 22:29:01 +01:00
DDDHuang
2eae1088ac
fix(metrics): client metrics key name
2022-01-25 17:11:22 +08:00
zhongwencool
78f294cda2
fix: sys_mem alarm is not triggered after reboot.
2022-01-25 16:12:17 +08:00
lafirest
0fadc85c15
Merge pull request #6841 from lafirest/fix/slow_subs_qos2
...
fix(emqx_slow_subs): fix qos2 pattern matching error
2022-01-24 17:35:25 +08:00
lafirest
954e85bb73
fix(emqx_slow_subs): fix qos2 pattern matching error
2022-01-24 17:03:37 +08:00
JianBo He
b635d56aec
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-21 16:27:56 +08:00
JianBo He
14538e5f6d
chore(emqx): update appup.src
2022-01-21 14:24:01 +08:00
JianBo He
c56be7dcd7
refactor(metrics): more clear for acl metrics
...
For clarity in the meaning of metrics, we put `client.acl.allow`,
`client.acl.deny` into emqx_metrics and increased after a acl checking
returned.
2022-01-21 11:21:25 +08:00
lafirest
e82c73988b
Merge pull request #6790 from lafirest/fix/slow_subs
...
fix(emqx_slow_subs): add ClientInfo into the args of the delivery.com…
2022-01-19 15:54:44 +08:00
lafirest
46f86204c0
fix(emqx_slow_subs): add ClientInfo into the args of the delivery.completed hook
2022-01-19 14:02:30 +08:00
zhongwencool
24f8c353dc
Merge branch 'main-v4.4' into sync-from-4.3-to-4.4
2022-01-19 11:24:57 +08:00
lafirest
6414f7e55a
fix(emqx_slow_subs): add compatibility for old code
2022-01-19 09:50:31 +08:00
lafirest
696acbfc5c
fix(emqx_slow_subs): change on_publish_completed to on_delivery_completed
2022-01-19 09:50:31 +08:00
lafirest
0a85e71e09
fix(appup): add slow subs into appup file
2022-01-19 09:50:31 +08:00
lafirest
44fe882f14
refactor(emqx_slow_subs): refactor slow subs
2022-01-19 09:50:31 +08:00
DDDHuang
040d04c9fb
fix(test): for paho qos3
2022-01-18 18:46:03 +08:00
lafirest
deada0ea44
chore(appup): update appup file and esockd version
2022-01-18 16:26:01 +08:00
lafirest
eb003e3305
feat(emqx_limiter): add support for update overall limiter
2022-01-18 14:06:26 +08:00
DDDHuang
578199ad3a
fix: client metrics count with qos
2022-01-18 10:38:06 +08:00
DDDHuang
6278951d57
fix: code style
2022-01-17 15:43:59 +08:00
DDDHuang
5397d80680
feat(metrics): session metrics & api format
2022-01-17 15:15:00 +08:00
DDDHuang
1ce77de080
feat(metrics): client metrics
2022-01-17 14:51:46 +08:00
Shawn
1daf2e4fc9
fix(appup): add emqx_alarm into appup file
2022-01-14 15:57:50 +08:00
Shawn
2da30465de
fix(merge): solve conflicts when merge 4.4 to 4.3
2022-01-14 15:45:33 +08:00
zhongwencool
729ab6f60d
Merge branch 'main-v4.3' into auth-mnesia-default-import
2022-01-14 11:29:41 +08:00
zhongwencool
ab18020eea
Merge pull request #6736 from zhongwencool/support-license-alarm-type
...
chore(alarm): support license alarm type
2022-01-14 11:19:48 +08:00
zhongwencool
9a17bcfcc9
chore(appup): update eqmx.appup.src
2022-01-14 11:03:27 +08:00
zhongwencool
7c0d70cfde
feat(license): license expriy early alarm.
2022-01-14 00:31:56 +08:00
Shawn
4abcab8d52
fix(appup): update appup files for emqx,emqx_sn,rule_engine
2022-01-13 18:37:22 +08:00
zhongwencool
c6a571c207
chore(alarm): support license alarm type
2022-01-13 17:41:16 +08:00
JianBo He
b3862fb283
chore: fix the app vsn and appup.src
2022-01-13 17:30:20 +08:00
Shawn
a6408cee4f
fix(session): update testcases for emqx_session
2022-01-13 15:28:18 +08:00
Shawn
9f7f5070b2
fix(channel): update the calls to emqx_session APIs
2022-01-13 13:33:27 +08:00
Shawn
217acc0154
feat(rule): add new event 'delivery_dropped'
2022-01-12 20:11:08 +08:00
Shawn
9434c0fa6c
feat(hook): new emqx hook 'delivery.dropped'
2022-01-12 18:34:20 +08:00
JianBo He
b297388c20
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-11 10:03:28 +08:00
JianBo He
02dc216173
chore: update appup.src
2021-12-23 08:48:24 +08:00
JianBo He
cb8a3725b4
fix: disconnect the client due to exceed receive-maximum packets
...
As described in the 5.0 specification, we should disconnect clients that
exceed the receive-maximum limit.
> If it receives more than Receive Maximum QoS 1 and QoS 2 PUBLISH packets
where it has not sent a PUBACK or PUBCOMP in response, **the Server uses a
DISCONNECT packet with Reason Code 0x9**
fix : #6447
2021-12-23 08:48:24 +08:00