Shawn
a7791b6c58
fix(relup): download to 4.4.0 failed with error bad_lib_vsn
2022-03-01 11:33:49 +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
Zaiming (Stone) Shi
fe597cd3f9
ci: delete ci step which creates sha256sum
...
the latest build commands create sha256 sum right after the build
e.g. command `make emqx-zip` creates two files:
- emqx-<version>.zip
- emqx-<version>.zip.sha256
2022-02-28 18:55:05 +01:00
Zaiming (Stone) Shi
a4523995d2
build: git clone silent
2022-02-28 18:52:16 +01:00
ieQu1
06db325b5f
fix(auth_mnesia): Fix error message
2022-02-28 18:11:55 +01:00
Shawn
bcd56d3db2
Merge branch 'main-v4.4' into inject_relup_instructions_v4.4
2022-02-28 19:13:55 +08:00
Shawn
f25b8801b4
fix(build): also make SYSTEM configurable by env variable
2022-02-28 19:07:38 +08:00
Shawn
b7d07d7a96
fix(appup): remove the post relup scripts from emqx_dashboard.appup.src
...
The instructions have been move into module `emqx_relup`.
2022-02-28 10:11:20 +08:00
Zaiming (Stone) Shi
f9836e6d36
Merge pull request #7152 from zmstone/chore-skip-downloading-upgrade-base-package-for-windows
...
chore: skip downloading upgrade base images for windows
2022-02-27 15:30:09 +01:00
Zaiming (Stone) Shi
bbbb0edca1
chore: skip downloading upgrade base images for windows
...
because we do not support relup for windows for now
2022-02-27 14:56:46 +01:00
Zaiming (Stone) Shi
e7f39d4cfe
Merge pull request #7149 from zmstone/merge-4.3-to-4.4
...
Merge 4.3 to 4.4
2022-02-27 13:33:23 +01: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
Shawn
2365d1e983
fix(relup): inject relup only for the current rel vsn
2022-02-27 10:11:02 +08:00
William Yang
0c2ba9fe50
fix(helm): fix configmap.env template
...
fix : #7070
2022-02-26 21:30:32 +01:00
Zaiming (Stone) Shi
8654600ea2
fix(update_appup): use curl command instead of wget
2022-02-26 17:00:47 +01:00
Zaiming (Stone) Shi
cc8168ba23
chore(appup): commit script updated emqx.app.src
2022-02-26 16:45:55 +01:00
Zaiming (Stone) Shi
0931a426cd
chore(update_appup.escript): make it work with dirty src dirs
2022-02-26 16:44:11 +01:00
Shawn
692d1e2a33
fix(relup): OTP_VSN: unbound variable
2022-02-26 21:31:09 +08:00
Shawn
91c46de4aa
fix(relup): inject relup instructions to the end of relup file
2022-02-26 21:10:20 +08: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
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
zhouzb
6c9fd5e5a8
Merge pull request #7122 from Rory-Z/dev/v4.4.1
...
ci(cross build): fix syntax error
2022-02-23 20:49:00 +08:00
zhanghongtong
2796113c20
ci(cross build): fix syntax error
2022-02-23 20:03:57 +08:00
zhouzb
b7819639a6
Merge pull request #7120 from Rory-Z/dev/v4.4.1
...
ci(cross build): fix syntax error
2022-02-23 19:34:44 +08:00