Commit Graph

6675 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi b0900fe25a build(update-appup): fix ARCH resolution 2022-03-02 19:37:11 +01:00
Zaiming (Stone) Shi 89809e84f9
Merge pull request #7172 from zmstone/chore-add-appup-update-script
chore: add appup update script
2022-03-02 18:46:24 +01:00
Zaiming (Stone) Shi 8029670741 ci: add appup update check to ci 2022-03-01 17:04:09 +01:00
Zaiming (Stone) Shi ef382bf34c chore: add --make-command to update_appup script args 2022-03-01 17:04:05 +01:00
Zaiming (Stone) Shi 0996b79d96 chore: add a script to simplify appup update 2022-03-01 17:02:29 +01:00
Zaiming (Stone) Shi 52ff180e55 chore: pin esockd 5.8.5 2022-03-01 17:02:29 +01:00
Zaiming (Stone) Shi cca9e52c9a chore(appup): add missing appup instructions 2022-03-01 11:41:52 +01:00
Zaiming (Stone) Shi 02aa665e54 chore: bump version to prepare the next release 2022-03-01 11:41:52 +01:00
Xinyu Liu 0c2a7e1a7c
Merge pull request #7165 from terry-xiaoyu/improve_install_upgrade_escript
fix(relup): release upgrade failed if release dir is removed
2022-03-01 17:41:16 +08:00
Zaiming (Stone) Shi b9f0e3a351
Merge pull request #7150 from qzhuyan/main-v4.3
fix(helm): fix configmap.env template
2022-03-01 10:29:24 +01:00
Dmitrii e5d5e2ca97
Merge pull request #7164 from ieQu1/fix-log-message
fix(auth_mnesia): Fix error message
2022-03-01 08:42:16 +01:00
zhongwencool 55aac202aa
Merge pull request #7137 from zhongwencool/get-node-info-rpc-crash
fix: rpc get node info maybe crash when emqx_sys process is not start yet.
2022-03-01 15:08:25 +08:00
zhongwencool 2c47d2c391 chore: update changelog-4.3 2022-03-01 14:19:37 +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 71100427dd fix(relup): release upgrade failed if release dir is removed
If the target vsn is in `unpacked` state, but the release dir
`releases/<vsn>` is removed, then installing the target vsn
again will fail with error `{error,enoent}`.

In this case we should extract the tar ball again and then continue
to install the release.
2022-03-01 10:13:17 +08:00
ieQu1 06db325b5f fix(auth_mnesia): Fix error message 2022-02-28 18:11:55 +01:00
William Yang 0c2ba9fe50 fix(helm): fix configmap.env template
fix: #7070
2022-02-26 21:30:32 +01:00
gsychev 3af36378dd
Merge pull request #7014 from gsychev/bridge_config_topic_node_template_43
Bridge config topic node template
2022-02-25 11:56:23 +00:00
gsychev 19fcd6a4f6
Merge branch 'main-v4.3' into bridge_config_topic_node_template_43 2022-02-25 10:05:36 +00:00
Zaiming (Stone) Shi a147f82b7c
Merge pull request #7135 from thalesmg/fix-sys-mon-portinfo-43
fix(sys_mon): guard before calling `erlang:port_info` [4.3]
2022-02-25 10:52:56 +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 456fcd6a54
Merge pull request #7124 from HJianBo/force-kill-takover-failure-proc
refactor(cm): rename takeover -> request_stepdown
2022-02-24 17:46:09 +08:00
JianBo He f121f9616e chore: rename testcase name 2022-02-24 17:26:17 +08:00
JianBo He b2093409b6
Merge pull request #6970 from HJianBo/fix-no-register-msg-replaying
Fix the MQTT-SN message replay when the topic is not registered to the client
2022-02-24 16:14:27 +08:00
Xinyu Liu 75b322cc2a
Merge pull request #7121 from terry-xiaoyu/fix_rel_upgrade_failed_on_eexists
fix(relup): release upgrade failed on symlink already exists
2022-02-24 16:10:10 +08:00
Shawn 815096063a chore: update the change logs 2022-02-24 16:09:23 +08:00
Shawn 63fbf8d9f8 fix(CI): add cases for relup to downgrade to old versions 2022-02-24 15:24:06 +08: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 b22e341c67
Merge pull request #7026 from HJianBo/force-kill-takover-failure-proc
Force kill takover failure proc
2022-02-24 14:12:12 +08:00
Shawn 7dbb5b1032 fix(CI): don't guarantee not to lose a single message during relup 2022-02-24 12:52:57 +08:00
JianBo He d943cc2f1c chore(exproto): update appup.src 2022-02-24 11:51:00 +08:00
JianBo He 7236206373 fix(exproto): handle discard call 2022-02-24 11:51:00 +08:00
JianBo He bf565efc99 chore: update CHANGES-4.3.md 2022-02-24 11:51:00 +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 2c512c2097 docs: update CHANGES-4.3.md 2022-02-24 11:30:15 +08:00
JianBo He 76d0835e4f chore(mqttsn): update appup.src 2022-02-24 11:30:12 +08:00
JianBo He e9031ea4c1 fix(mqttsn): cache and replay the invaild-topic-id delivery 2022-02-24 11:28:04 +08:00
JianBo He 96a86061c2 refactor(sn): pretty frame print formation 2022-02-24 11:28:04 +08:00
JianBo He 66807f17df test(cm): cover {takeover, 'begin'/'end'} action 2022-02-24 09:53:17 +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 c9ff263e59
Merge pull request #7117 from qzhuyan/bugfix/william/sys-mem-false-alarm
bugfix: sys mem false alarm
2022-02-23 15:17:28 +01:00
Shawn 442a1290a8 fix(relup): release upgrade failed on symlink already exists 2022-02-23 19:14:59 +08:00
William Yang 2c4fc6f6f7 docs(changelog): system mem false alarm 2022-02-23 11:47:19 +01: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
zhanghongtong b6e57b1789 ci(cross build): splitting cross builds and upload assets 2022-02-23 15:27:32 +08:00
JianBo He ddf2022542
Merge pull request #6983 from HJianBo/fix-exproto-online-clients-v4.3
Improve ExProto client management
2022-02-23 10:59:19 +08:00