Yang Miao
c0da7bcee0
Merge pull request #7407 from EMQ-YangM/add_client_check_acl_complete
...
feat: add rule events: 'client.connack', 'client.check_acl_complete'
2022-03-28 10:31:27 +08:00
EMQ-YangM
059fc6e3c7
feat(emqx_rule_events): add field 'is_cache'
2022-03-25 18:05:25 +08:00
EMQ-YangM
44f4dfa498
fix(CHANGES): update CHANGES-4.4.md
2022-03-25 13:40:29 +08:00
EMQ-YangM
3eab6b436b
fix(appup): load_module emqx_access_control
2022-03-25 11:27:28 +08:00
EMQ-YangM
0ffb66ee7f
fix(CHANGES): update CHANGES-4.4.md
2022-03-25 11:12:55 +08:00
EMQ-YangM
e0d142c625
feat: add client.check_acl_complete event
2022-03-25 11:08:30 +08:00
zhouzb
1d6b7bbeae
Merge pull request #7404 from zmstone/ci-4.4-exclude-base-vsn-before-4.4.2-for-debian11
2022-03-25 08:29:54 +08:00
Zaiming (Stone) Shi
489dbec76b
ci: exclude 4.4.0 and 4.4.1 for debian11
2022-03-24 20:42:51 +01:00
Zaiming (Stone) Shi
7e2be899fb
Merge pull request #7403 from zmstone/merge-v43-to-v44
...
Merge v43 to v44
2022-03-24 19:57:13 +01:00
Zaiming (Stone) Shi
df8a018fc3
Merge pull request #7402 from zmstone/chore-delete-warning-message
...
chore: delete warning message for session upgrade/downgrade
2022-03-24 16:23:03 +01:00
Zaiming (Stone) Shi
4cf3cf7134
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-03-24 16:05:28 +01:00
Zaiming (Stone) Shi
d3bcc201d6
Merge pull request #7401 from zmstone/ci-add-build-base-option-to-appup-update-script
...
chore: update-appup.sh always rebuild baseline
2022-03-24 15:58:25 +01:00
Zaiming (Stone) Shi
b8afa16b53
chore: fix shellcheck
2022-03-24 12:28:34 +01:00
Zaiming (Stone) Shi
2d97b1bb89
chore: delete warning message for session upgrade/downgrade
2022-03-24 12:26:09 +01:00
Zaiming (Stone) Shi
59b8fd6ff8
Merge pull request #7383 from zmstone/minor-fixes
...
Minor fixes 4.4
2022-03-24 11:26:05 +01:00
Zaiming (Stone) Shi
3944888a19
chore: update-appup.sh always rebuild baseline
...
Reasons
* OTP version might be different in developer's env and build env
* For some tags, we do not build release. e.g. rel-v4.4.X
2022-03-24 11:23:47 +01:00
JianBo He
d1503731a1
Merge pull request #7395 from HJianBo/bump-vsn-for-4.4
...
Pre-release v4.4.2: Bump vsn and update dashboard vsn
2022-03-24 17:11:52 +08:00
JianBo He
242035139e
Merge pull request #7394 from HJianBo/update-dashboard-vsn
...
Pre-release v4.3.13: Update dashboard vsn
2022-03-24 17:11:33 +08:00
EMQ-YangM
326b01968b
fix(appup): load_module emqx_rule_events
2022-03-24 16:52:01 +08:00
Zaiming (Stone) Shi
a39cc47a45
Merge pull request #7380 from zmstone/test-fix-data-import-case-failure
...
test: fix data import test failure
2022-03-24 08:26:33 +01:00
EMQ-YangM
3410e20fbe
feat(emqx_rule_engine_events): add client_connack event
2022-03-24 14:58:41 +08:00
JianBo He
65e11bcb01
chore: bump vsn for 4.4.2-rc.1
2022-03-24 14:26:52 +08:00
JianBo He
61d3ed31e8
chore: bump vsn to 4.3.13-rc.2
2022-03-24 14:23:19 +08:00
JianBo He
5e42a67c8d
chore: update dashboard vsn
2022-03-24 14:22:19 +08:00
JianBo He
37d1ba88e4
Merge pull request #7389 from HJianBo/merge-main-v4.3-into-v4.4
...
Merge main v4.3 into v4.4
2022-03-24 11:14:40 +08:00
JianBo He
6e08ede0b0
chore: update appup.src files by update-appup.sh
2022-03-24 07:38:42 +08:00
JianBo He
94efb190c6
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-03-24 07:08:06 +08:00
Zaiming (Stone) Shi
ada29de3d5
fix(appup): add changed modules
2022-03-23 15:58:07 +01:00
Zaiming (Stone) Shi
7e01a52457
fix: typo in function name
2022-03-23 15:56:51 +01:00
Zaiming (Stone) Shi
b99627b866
chore(emqx_auth_mongo_sup): port changes from ee back to ce
2022-03-23 15:50:36 +01:00
Zaiming (Stone) Shi
56683328ec
docs: delete '4.3' from 4.4 config file comment
2022-03-23 15:49:58 +01:00
JianBo He
0a63de9277
Merge pull request #7378 from HJianBo/refine_webhook_appups
...
Pre-release v4.3.13: Fix some app.src and appup.src files
2022-03-23 21:28:54 +08:00
Zaiming (Stone) Shi
1c448d6016
test: use try catch instaed of sopan a process
2022-03-23 13:51:13 +01:00
Zaiming (Stone) Shi
3868fb088c
chore: bump emqx_web_hook to 4.3.10
2022-03-23 13:35:05 +01:00
Zaiming (Stone) Shi
929ca787f4
test: fix data import test failure
2022-03-23 13:12:57 +01:00
JianBo He
b76372e621
chore: remove duplicated emqx_rule_funcs in appup.src
2022-03-23 19:29:58 +08:00
JianBo He
5492ab2cc9
chore(bridge-mqtt): use `VSN` placeholder instead of vsn number
2022-03-23 18:37:40 +08:00
JianBo He
a4d2aa1dd4
chore: correct the app.src & appup.src
2022-03-23 18:37:40 +08:00
JianBo He
0309302c42
Merge pull request #7376 from lafirest/fix/flaky_test
...
fix(mod_subscription): fix test case error
2022-03-23 18:37:24 +08:00
Xinyu Liu
0a98086329
Merge pull request #7379 from terry-xiaoyu/update_changes2
...
fix(doc): update CHANGES-4.3.md for #7374
2022-03-23 18:31:49 +08:00
Shawn
ac8bb41ea8
fix(doc): update CHANGES-4.3.md for #7374
2022-03-23 18:31:09 +08:00
Xinyu Liu
0348707aca
Merge pull request #7374 from terry-xiaoyu/resource_get_status_timeout
...
fix(rule): get the cached status when calling emqx_rule_engine:get_resource_status/1
2022-03-23 18:00:07 +08:00
Xinyu Liu
0d55b9242d
Merge branch 'main-v4.3' into resource_get_status_timeout
2022-03-23 17:59:59 +08:00
Xinyu Liu
c9ed3cb657
Merge pull request #7367 from zhongwencool/fix-bad-authorization-500-crash
...
fix: bad authorization format crash with 500
2022-03-23 17:58:19 +08:00
firest
a2085555e9
fix(mod_subscription): fix test case error
2022-03-23 17:37:06 +08:00
Shawn
e8c7388aa4
chore: update appup file for emqx_rule_engine
2022-03-23 16:21:27 +08:00
zhongwencool
b993595c6d
fix: add emqx_rule_funcs to appup.src
2022-03-23 15:42:53 +08:00
zhongwencool
99dfd8504c
fix: bad authorization format crash with 500
2022-03-23 15:34:23 +08:00
Shawn
5275e6a30f
fix(rule): get the cached status when calling emqx_rule_engine:get_resource_status/1
2022-03-23 15:33:50 +08:00
Zaiming (Stone) Shi
fcc7252497
Merge pull request #7373 from zmstone/ci/add-debian11
...
build: add debian11
2022-03-23 07:59:14 +01:00
Zaiming (Stone) Shi
4c4604d397
build: add debian11
2022-03-23 07:56:20 +01:00
zhongwencool
db5944e169
Merge pull request #7347 from zhongwencool/trace-disable
...
fix: make all traces stopped when disable emqx_trace_module
2022-03-23 14:26:45 +08:00
lafirest
ce2e4f51ac
Merge pull request #7353 from lafirest/fix/auto_sub_empty_topic_4.3
...
fix(auto_subscribe): make log if the topic is empty when auto subscribe
2022-03-23 11:20:19 +08:00
zhongwencool
ea91533912
fix: delete multiply defined module(emqx_relup) in emqx.appup.src
2022-03-23 11:18:46 +08:00
firest
b12b72df99
chore: update changes-4.3.md
2022-03-23 10:55:19 +08:00
zhongwencool
d2abc2fcd0
fix: revert emqx_trace in emqx.appup.src
2022-03-23 10:31:03 +08:00
zhongwencool
5a042645e2
fix: make all traces stopped when disable emqx_trace_module
2022-03-23 10:31:01 +08:00
JianBo He
d4a9add920
Merge pull request #7370 from zmstone/main-v4.4
...
merge v4.3 to v4.4
2022-03-23 09:46:11 +08:00
Zaiming (Stone) Shi
a5d1dbaf66
docs: sync 4.3.13 changes to 4.4.2
2022-03-22 21:26:38 +01:00
Zaiming (Stone) Shi
42d94b478f
fix: update app vsn and update appup
2022-03-22 21:08:20 +01:00
Zaiming (Stone) Shi
8415abb05a
Merge remote-tracking branch 'origin/main-v4.4' into main-v4.4
2022-03-22 21:01:15 +01:00
Zaiming (Stone) Shi
481f0bfa88
Merge pull request #7368 from zmstone/ci-update-to-latest-builder-images
...
ci: update to latest builder image
2022-03-22 21:00:31 +01:00
Zaiming (Stone) Shi
692e2c79a2
chore: update appups after merge
2022-03-22 20:58:34 +01:00
Zaiming (Stone) Shi
6ea8d2f270
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-03-22 20:54:22 +01:00
Zaiming (Stone) Shi
ed9266b6c0
ci: update to latest builder image
2022-03-22 12:05:55 +01:00
Yang Miao
d4fdbb3020
Merge pull request #7364 from EMQ-YangM/feat_add_zip_gzip
...
feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip
2022-03-22 18:44:37 +08:00
firest
c43f179204
fix(mod_subscription): improve the log information
2022-03-22 18:09:06 +08:00
Rory Z
479d0bf5a4
Merge pull request #7210 from Rory-Z/fix/fix-helm-upgrade-error
...
fix(helm): delete needless labels for support helm upgrade
2022-03-22 15:20:21 +08:00
EMQ-YangM
62eff94249
feat(emqx_rule_funcs): add functions gzip, gunzip, zip, unzip
2022-03-22 15:16:31 +08:00
firest
4fe9275103
chore(modules): update appup file
2022-03-22 10:08:52 +08:00
firest
c2b1571134
fix(auto_subscribe): make log if the topic is empty when auto subscribe
2022-03-21 18:32:42 +08:00
JianBo He
e4b5001a57
Merge pull request #7309 from HJianBo/send_disconnect_pkt_while_kicked
...
fix(channel): send DISCONNECT packet if connection has been kicked
2022-03-21 11:56:18 +08:00
JianBo He
706c7725f9
test: update test/emqx_channel_SUITE.erl
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-03-21 10:56:55 +08:00
JianBo He
604c384660
fix(channel): send will_msg if client has been kicked
2022-03-21 10:56:55 +08:00
JianBo He
75239c1388
chore: update changes-4.3.md
2022-03-21 10:56:54 +08:00
JianBo He
8d3e953eef
fix(channel): send DISCONNECT packet if connection has been kicked
...
fix #7241
2022-03-21 10:56:37 +08:00
zhongwencool
bce4ca2fbd
Merge pull request #7345 from zhongwencool/subscribe-crash-with-bad-qos
...
fix: subscribe api crash with bad qos.
2022-03-21 10:40:09 +08:00
zhongwencool
2be97a24dd
fix: subscribe api crash with bad qos.
2022-03-21 09:19:28 +08:00
DDDHuang
479507b96a
Merge pull request #7344 from DDDHuang/up_jmeter_43x
...
fix(ci): update jmeter to 5.4.3
2022-03-20 23:44:52 +08:00
Zaiming (Stone) Shi
145b3a363c
Merge pull request #7340 from zmstone/fix-session-record-backward-compatibility
...
fix(session): compatible to 4.3 takeover
2022-03-20 07:22:16 +01:00
DDDHuang
ece789b58e
fix(ci): update jmeter to 5.4.3
2022-03-20 13:07:43 +08:00
Zaiming (Stone) Shi
552e7d175a
Merge pull request #7342 from zmstone/chore-fix-update-appup.sh-for-bash-3.2
...
chore: fix update-appup.sh for bash 3.2
2022-03-19 09:41:08 +01:00
Zaiming Shi
13086e7259
chore: fix update-appup.sh for bash 3.2
2022-03-19 08:42:52 +01:00
Zaiming (Stone) Shi
d56650e78b
test: fix session downgrade/upgrade in tests
2022-03-18 17:57:17 +01:00
Zaiming (Stone) Shi
21ed258d58
fix(session): compatible to 4.3 takeover
2022-03-18 12:23:13 +01:00
Xinyu Liu
3a89a6a1fe
Merge pull request #7336 from terry-xiaoyu/float_precision_10
...
fix(rules): enlarge precisions of floats to maximum 17 decimal places.
2022-03-18 18:28:58 +08:00
Shawn
5823751d7d
chore: bump emqx_rule_engine to 4.3.9
2022-03-18 18:28:30 +08:00
Shawn
81ae2be760
fix(rules): enlarge precisions of floats to maximum 17 decimal places.
...
When printing floats to strings, we have to define a small decimal
limits to avoid print a too long and "inaccurate" float number:
```
2> float_to_binary(0.3).
<<"2.99999999999999988898e-01">>
```
This fix sets precision of floats to 17 digits after the decimal point.
This precision is larger than precision of most `double` data type used by
databases(14 digits for mysql and 15 digits for pgsql).
2022-03-18 15:42:01 +08:00
JianBo He
72e37dd144
Merge pull request #7300 from HJianBo/mqtt-sn-resume-subs
...
feat(mqttsn): introduce subs_resume option
2022-03-17 17:51:41 +08:00
zhongwencool
b8afd2760c
Merge pull request #7318 from zhongwencool/fix-bad-str
...
fix: Add name string legitimacy check.
2022-03-17 17:49:25 +08:00
lafirest
2133f8c4a3
Merge pull request #7320 from lafirest/fix/delayed_terminate
...
Fix/delayed terminate
2022-03-17 10:05:31 +08:00
JianBo He
b09b6ca6d2
Merge branch 'main-v4.3' into mqtt-sn-resume-subs
2022-03-17 09:39:21 +08:00
William Yang
e8bbfc3806
Merge pull request #7303 from qzhuyan/dev/william/add-olp
...
feat: add load control app
2022-03-16 15:36:53 +01:00
zhongwencool
f0a81d593d
fix: dashboard ct failed
2022-03-16 16:48:03 +08:00
zhongwencool
8cf97a93af
fix: urldecode appid and username.
2022-03-16 16:33:03 +08:00
DDDHuang
0d7ad25804
Merge pull request #7281 from DDDHuang/backup_json
...
fix: check backup file type & legal json
2022-03-16 16:16:06 +08:00
firest
3e6249a8b7
fix: bump emqx_modules version
2022-03-16 15:28:44 +08:00
zhongwencool
bfadcebb9c
chore: remind the user to delete bad appid/username.
2022-03-16 15:23:10 +08:00
firest
186ff243ed
fix(delayed): cancel stats timer when terminate
2022-03-16 14:57:17 +08:00
zhongwencool
f70d777623
chore: update appup
2022-03-16 11:19:25 +08:00
zhongwencool
0555bce47e
chore: add more doc for dashboard.default_user
2022-03-16 10:54:09 +08:00
zhongwencool
6b91a80712
chore: update changelog-4.3
2022-03-16 10:47:18 +08:00
zhongwencool
b44512cdab
fix: Add string legitimacy check.
2022-03-16 10:31:41 +08:00
DDDHuang
95cc5a19c8
fix: bad list & bad SUITE
2022-03-16 10:07:13 +08:00
William Yang
81ed61b001
feat: add load control app
2022-03-15 14:02:42 +01:00
DDDHuang
02e7f3bfe0
feat: backup data support old versions dir
2022-03-15 15:05:48 +08:00
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
JianBo He
a3d8981635
refactor(mqttsn): assign subs_resume to mqtt-sn client process state
2022-03-15 11:28:40 +08:00
JianBo He
af65310ce7
chore(script): update_appup.escript support the update cmd
...
We often use the advanced directive `update` when hot upgrading
gen_server, gen_statem, and other such processes, and it will be
parsed as:
```
{suspend,[Mod]},
{load,{Mod,brutal_purge,brutal_purge}},
{code_change,up,[{Mod,[Extra]}]},
{resume,[Mod]},
```
So, we should treat the update instruction as having completed the
upgrade of this module.
2022-03-15 10:51:30 +08:00
JianBo He
3823ab8693
fix: typos in emqx_sn.appup.src
2022-03-15 10:51:30 +08:00
JianBo He
f8b7b9415d
chore(mqttsn): update appup.src
2022-03-15 10:51:30 +08:00
JianBo He
fcf1178f3b
chore: update CHANGES-4.3.md
2022-03-15 10:51:29 +08:00
JianBo He
d4c1b3acc6
test(mqttsn): more tests for topic register and subs_resume
2022-03-15 10:51:05 +08:00
JianBo He
3201d11212
feat(mqttsn): introduce subs_resume option
...
As the mqtt-sn v1.2 spec metioned, the gateway will be able to sync the
subscriptions topic-name registry to client when the client resume it's
session
port from: https://github.com/emqx/emqx-sn/pull/195
2022-03-15 10:51:05 +08:00
zhongwencool
4adc914372
feat: Support set keepalive via queryString & Body HTTP API.
2022-03-15 10:40:01 +08:00
Chris Hicks
eb5d9fa501
Merge pull request #7298 from mononym/fix-mongodb-timeout-crash
...
fix: prevent crash when mongodb connection times out
2022-03-14 17:01:09 +01:00
Chris
440523138b
fix: prevent crash when mongodb connection times out
2022-03-14 15:09:49 +01:00
Zaiming (Stone) Shi
c4f609eb42
Merge pull request #7295 from zmstone/fix-ensure-bash-for-systemd-service
...
chore: ensure bash wraper in emqx.service, restart wait 60 seconds
2022-03-14 13:28:35 +01: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
DDDHuang
1ec0377a69
fix: api file path with filename:join(List) & app up
2022-03-14 16:11:07 +08:00
Zaiming (Stone) Shi
223642e62b
chore: ensure bash wraper in emqx.service, restart wait 60 seconds
2022-03-14 08:08:04 +01:00
DDDHuang
2da3333879
fix: check backup file type & legal json
2022-03-14 14:16:34 +08:00
JianBo He
59bae0a27a
Merge pull request #7274 from zhongwencool/dashboard-login-warning
...
chore: Prompt user how to change the dashboard default password when emqx start
2022-03-11 12:41:56 +08:00
Zaiming (Stone) Shi
d58bfed751
Merge tag 'v4.4.1' into main-v4.4
2022-03-10 16:50:32 +01:00
zhongwencool
f82550ddc6
chore: Prompt user how to change the dashboard default password when emqx start
2022-03-10 23:01:58 +08:00
JianBo He
ecc2f069f6
Merge pull request #7261 from JimMoen/mqtt-frame-utf8-check
...
feat(frame): utf-8 string check in `strict_mode`
2022-03-10 13:21:14 +08:00
JimMoen
892600f43f
docs: update CHANGES-4.3.md
2022-03-10 13:13:07 +08:00
JimMoen
8ea84e4a01
chore(appup): update appup.src
2022-03-10 12:12:42 +08:00
JimMoen
dce513df0e
test(frame): malformed utf-8 packet
2022-03-10 11:39:44 +08:00
JimMoen
c0b688b51f
feat(frame): utf-8 string check in `strict_mode`
2022-03-10 11:23:44 +08:00
Rory Z
96695bcec5
Merge pull request #7245 from Rory-Z/build/update-helm
...
build(helm): add preStop command for container
2022-03-10 09:20:38 +08:00
Chris Hicks
2a4aa5a8b5
Merge pull request #7249 from mononym/fix-mongodb-deadloop
...
fix: update mongodb client to include deadloop fix
2022-03-09 11:49:23 +01:00
Zaiming (Stone) Shi
cedeff4dab
build(appup): fix module delete instructions
...
when there is a application_restart instruction, there is no
need to add module delete instructions
2022-03-09 11:18:02 +01:00
Chris
ca5637b4a3
fix: update mongodb client to include deadloop fix
2022-03-09 10:57:29 +01:00
Zaiming (Stone) Shi
de990b98f1
Merge pull request #7243 from zmstone/merge-v43-to-v44
...
Merge v43 to v44
2022-03-09 06:48:36 +01:00
zhanghongtong
8057282d7d
build(helm): add preStop command for container
...
update probe for container
2022-03-09 11:26:03 +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
04fa1980c0
Merge pull request #7229 from zmstone/build-fix-update_appup
...
build(update_appup): refactor appup update scripts
2022-03-08 15:20:44 +01:00
Zaiming (Stone) Shi
d8e29f19cb
refactor(appup): always generate appup from script
2022-03-08 13:24:54 +01:00
Zaiming (Stone) Shi
85d87a768a
Merge pull request #7230 from lafirest/fix/flakey_test
...
test(slow_subs): fix the flaky case, relax the range check
2022-03-08 11:04:12 +01:00
Xinyu Liu
9fbc211fd0
Merge pull request #7196 from DDDHuang/usort_plugins
...
fix(plugins): usort plugin list
2022-03-08 11:03:00 +08:00
lafirest
03374cdf14
test(slow_subs): fix the flaky case, relax the range check
2022-03-07 17:54:13 +08:00
Zaiming (Stone) Shi
f8004fdd26
Merge pull request #7221 from zmstone/build-exclude-gpb-in-appup-update
...
build(appup): exclude gpb from appup checks
2022-03-07 06:47:00 +01:00
Zaiming (Stone) Shi
e34b110e84
Merge pull request #7219 from zmstone/merge-v4.3-to-v4.4
...
Merge v4.3 to v4.4
2022-03-07 06:46:05 +01:00
DDDHuang
fbd70b02bc
fix: override plugins list
2022-03-07 10:32:49 +08:00
DDDHuang
7884238073
fix(doc): better change log
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-03-07 09:53:19 +08:00
Zaiming (Stone) Shi
111b93b4ea
fix(update-appup): pass in --repo option even when download bin package
...
the repo url is NOT used to clone the source,
but used to determin the sub-dir name when extracting the zip package
2022-03-05 17:24:49 +01:00
Zaiming (Stone) Shi
1ae46cc22a
build(appup): exclude gpb from appup checks
2022-03-05 16:49:58 +01:00
Zaiming (Stone) Shi
8df4fb98af
Merge pull request #7220 from zmstone/fix-appup-update-for-ee
...
build: fix update-appup for ee
2022-03-05 12:03:42 +01:00
Zaiming (Stone) Shi
0a6e2d596b
build: fix update-appup for ee
2022-03-05 11:49:44 +01:00
Zaiming (Stone) Shi
521f47ff80
build: add 4.4 dashboard download
2022-03-05 10:46:56 +01:00
Zaiming (Stone) Shi
87a2155fb5
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-03-05 10:40:03 +01:00
Zaiming (Stone) Shi
67c6206718
Merge pull request #7218 from zmstone/fix-unclosed-action-issue-credit-mohammadiahmad
...
fix(helm): fix unclosed action issue
2022-03-05 10:38:53 +01:00
Zaiming (Stone) Shi
b4d5b722fd
Merge pull request #7217 from zmstone/ci-simplify-dashboard-download
...
ci: simplify dashboard download
2022-03-05 10:37:50 +01:00
ahmad.mohammadi
27be2197c0
fix(helm): fix unclosed action issue
2022-03-05 10:05:16 +01:00
Zaiming (Stone) Shi
7ba3d32bac
ci: remove git-token file since EE dashboard is opensource now
2022-03-05 09:44:12 +01:00
Zaiming (Stone) Shi
c6660084f8
build: one place for dashboard version
2022-03-05 09:44:12 +01:00
Zaiming (Stone) Shi
30bb929df6
Merge pull request #7214 from Rory-Z/merge-4.3-to-4.4
...
Merge 4.3 to 4.4
2022-03-04 16:07:54 +01:00
zhanghongtong
a27ff13ceb
ci(release): update container image
2022-03-04 21:08:29 +08:00
Zaiming (Stone) Shi
2f5982e6e2
Merge pull request #7209 from zmstone/chore-refine-boot-message
...
chore: refine boot message on missing dynlibs
2022-03-04 13:53:06 +01:00
Zaiming (Stone) Shi
1a02e60640
docs: fix message typo in bin/emqx
2022-03-04 13:52:11 +01:00
zhanghongtong
cb969b5493
Merge branch 'main-v4.4' of https://github.com/emqx/emqx into merge-4.3-to-4.4
2022-03-04 20:51:38 +08:00
Zaiming (Stone) Shi
560be9a23a
Merge pull request #7212 from zmstone/fix-appup-update-handle-add-module
...
fix(appup_update): handle add module
2022-03-04 13:31:02 +01:00
Zaiming (Stone) Shi
3b22efeb9c
build(update_appup): handle add_module instruction
2022-03-04 12:30:46 +01:00
zhanghongtong
b45bbf676c
fix(helm): delete needless labels for support helm upgrade
2022-03-04 18:06:12 +08:00
Zaiming (Stone) Shi
b25873a1a1
Merge pull request #7194 from HJianBo/merge-main-v4.3-into-v4.4
...
Merge main v4.3 into v4.4
2022-03-04 10:20:36 +01:00
Zaiming (Stone) Shi
a0de86f327
chore: refine boot message on missing dynlibs
2022-03-04 09:31:33 +01:00
DDDHuang
278fa96bc1
fix(plugins): usort plugin list
2022-03-04 10:46:09 +08:00
Rory Z
d0b5b262fe
Merge pull request #7115 from Rory-Z/ci/update-build
...
ci(cross build): splitting cross builds and upload assets
2022-03-04 09:20:15 +08:00
JianBo He
dbacfb2bb4
test(mgmt): ensure application loaded
2022-03-03 22:02:27 +08:00
JianBo He
c5a6b47390
build(ci): fix package name
2022-03-03 11:57:17 +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
Zaiming (Stone) Shi
c6ee8097da
Merge pull request #7189 from zmstone/fix-build-arch-resolution
...
Fix build arch resolution
2022-03-02 21:04:29 +01:00
Zaiming (Stone) Shi
558748dab2
build(update_appup): only download package if not exist
2022-03-02 19:38:25 +01:00
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
Xinyu Liu
f58004eb2b
Merge pull request #7147 from emqx/inject_relup_instructions_v4.4
...
Inject relup instructions v4.4
2022-03-02 12:46:12 +08:00
Shawn
8be8f538a1
fix(relup): verify emqx_relup call in upgrade and downgrade clauses
2022-03-02 11:56:44 +08:00
Shawn
77e3c1d3ac
feat(relup): support providing 'Extra' parameter from appup.src
2022-03-02 10:48:10 +08: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
Shawn
41afbd2b13
refactor(relup): don't collect relvsn -> appvsn mappings
2022-03-01 23:10:11 +08:00
Zaiming (Stone) Shi
1588a1012e
Merge pull request #7163 from zmstone/ci-delete-duplicated-sha256-file-creation
...
ci: delete duplicated sha256 file creation
2022-03-01 12:00:11 +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
Shawn
7698ad7c4b
chore(relup): print more info after release upgrade complete
2022-03-01 17:15:19 +08:00
Shawn
769e79e2cd
chore(relup): also inject emqx_app automatically
2022-03-01 16:19:58 +08: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
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
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
zhanghongtong
7d52bc3d3a
ci(cross build): fix syntax error
2022-02-23 18:29:49 +08:00
zhouzb
3b0e427ee1
Merge pull request #7118 from Rory-Z/dev/v4.4.1
...
ci(cross build): splitting cross builds and upload assets
2022-02-23 18:25:38 +08:00
zhanghongtong
9d50d5e99d
ci(cross build): splitting cross builds and upload assets
2022-02-23 17:15:35 +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
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
Zaiming (Stone) Shi
42f7110a2d
Merge pull request #7107 from zmstone/fix-update-webhook-app-vsn
...
fix: bump emqx_web_hook app version
2022-02-22 23:41:24 +01:00
Zaiming (Stone) Shi
1fa27b28e4
fix: bump emqx_web_hook app version
2022-02-22 16:15:15 +01:00
Zaiming (Stone) Shi
c1513d6faf
Merge pull request #7101 from zmstone/chore-rename-more-descriptive-info-emqx
...
chore: rename more descriptive EQM X to EMQX
2022-02-22 14:20:09 +01:00
Zaiming (Stone) Shi
f87d262fbc
Merge pull request #7102 from zmstone/fix-docker-no-volume-for-etc
...
fix(docker): allow config changes in docker rebuild
2022-02-22 13:59:12 +01:00
lafirest
9ef760aff9
Merge pull request #7078 from lafirest/fix/api
...
fix(emqx_mgmt_http): add slow subs api into emqx_mgmt_http api list
2022-02-22 20:52:30 +08:00
Zaiming (Stone) Shi
b4836a01fd
fix(docker): allow config changes in docker rebuild
2022-02-22 12:42:13 +01:00
Zaiming (Stone) Shi
43c900bb5a
chore: rename more descriptive EQM X to EMQX
2022-02-22 11:16:38 +01:00
Zaiming (Stone) Shi
c843903f3a
Merge pull request #7095 from HJianBo/merge-main-v4.3-into-v4.4
...
Merge main v4.3 into v4.4
2022-02-22 11:08:33 +01:00
Zaiming (Stone) Shi
4473a832bc
build: fix macos -> macos* so matches macos10 and macos11
2022-02-22 09:43:06 +01:00
Zaiming (Stone) Shi
fb7944391d
build: fix shellcheck
2022-02-22 09:40:32 +01:00
JianBo He
7adc5fb158
Merge branch 'main-v4.3' into fix-exproto-online-clients-v4.3
2022-02-22 15:46:27 +08:00
JianBo He
18feec9030
chore(ci): fix the download filename
2022-02-22 13:43:46 +08:00
JianBo He
3be4f30f8c
Merge pull request #7096 from JimMoen/fix-stomp-conn_props
...
Fix stomp conn props
2022-02-22 13:33:35 +08:00
JianBo He
6b720286c6
chore: fix bad sytanx for emqx.appup.src
2022-02-22 11:55:20 +08:00
JimMoen
d98d7e77c8
chore: update CHANGES.md
2022-02-22 11:47:04 +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
JimMoen
3cc2f0e2d3
fix(stomp): `conn_props` should be map
2022-02-22 11:31:14 +08:00
JianBo He
9300d6636d
docs: update CHANGES-4.3.md
2022-02-22 10:30:53 +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
Zaiming (Stone) Shi
50b2efe2b0
Merge pull request #7084 from zmstone/otp-24-for-windows
...
Otp 24 for windows
2022-02-21 18:49:24 +01:00
JimMoen
f42c04d6fc
Merge pull request #7085 from JimMoen/fix-server-keepalive
...
fix(frame): `server_keepalive` only for MQTT v5.0
2022-02-21 22:25:31 +08:00
Zaiming (Stone) Shi
99ef6fbb2a
docs: update CHANGES-4.4
2022-02-21 15:09:52 +01:00
Zaiming (Stone) Shi
3c22878d54
ci: update windows ci to use erlef action and add windows to slim build
2022-02-21 15:09:32 +01:00
Zaiming (Stone) Shi
5e3543e282
Merge pull request #7073 from zmstone/fix-find-command-for-4.3-and-4.4
...
build: fix find command for windows
2022-02-21 12:23:42 +01:00
Zaiming (Stone) Shi
89e2cdb5a4
docs: update windows.md to use otp 24
2022-02-21 11:55:19 +01:00
JimMoen
31b006a0d1
fix(frame): `server_keepalive` only for MQTT v5.0
2022-02-21 18:46:53 +08:00
Zaiming (Stone) Shi
e18fef1ba8
Merge pull request #7083 from zmstone/prepare-for-v4.4.1-release
...
Prepare for v4.4.1 release
2022-02-21 11:45:16 +01:00
Zaiming (Stone) Shi
8226ed2b49
chore: update CHANGES-4.4
2022-02-21 11:36:49 +01:00
Zaiming (Stone) Shi
e13f2101f2
chore: prepare for v4.4.1 release
2022-02-21 11:34:23 +01:00
Ilya Averyanov
9648cd92e9
Merge pull request #7066 from savonarola/no-elvis-4.3
...
chore(codestyle): remove Elvis
2022-02-21 11:29:40 +03:00
Zaiming (Stone) Shi
107e447de4
build: fix find command for windows
...
windows has its own find command
2022-02-21 09:17:45 +01:00
Zaiming (Stone) Shi
ab3148da58
Merge pull request #7077 from emqx/fix-windows-build
...
build: fix windows build
2022-02-21 09:14:48 +01:00
Zaiming (Stone) Shi
14575fed63
chore: prepare for release v4.4.1-rc.1
2022-02-21 08:13:53 +01:00
lafirest
9abbe4eafc
chore(emqx_management): bump app version
2022-02-21 14:56:15 +08:00
lafirest
62ced62aac
fix(emqx_mgmt_http): add slow subs api into emqx_mgmt_http api list
2022-02-21 14:33:36 +08:00
Zaiming (Stone) Shi
3a5a2047e9
build: fix windows build
2022-02-21 00:53:56 +01:00
Zaiming (Stone) Shi
60c3df5dee
Merge pull request #7076 from zmstone/chore-4.3-ensure-remsh-node-name-for-upgrader
...
chore: ensure remsh node name prefix for upgrader
2022-02-20 21:31:39 +01:00
Zaiming (Stone) Shi
2325e8cfb3
chore: ensure remsh node name prefix for upgrader
...
for remsh prefixed nodes, ekka pick a random port to listen on
instead of following the conventional port mapping rule:
ekka listens on 4370 for emqx or emqx0 and 4371 for
emqx1 and so on
2022-02-20 19:57:56 +01:00
Ilya Averyanov
557c52dd8a
chore(codestyle): remove Elvis
2022-02-18 20:35:19 +03:00
Shawn
3bd961ca73
fix(CI): remove e|v from downloading urls of emqx packages
2022-02-18 23:05:35 +08:00
Shawn
3690d1951e
chore: add more debug info for relup-base-packages.sh
2022-02-18 22:41:03 +08:00
zhouzb
e12065f361
Merge pull request #7060 from HJianBo/main-v4.4
...
chore: bump version
2022-02-18 19:15:53 +08:00
JianBo He
82285980a7
chore: bump version
2022-02-18 19:14:30 +08:00
lafirest
f886cd705c
Merge pull request #7058 from lafirest/fix/hook_remove_error
...
fix(emqx_slow_subs): fix upgrade action error
2022-02-18 16:44:51 +08:00
DDDHuang
c3cb04c229
Merge pull request #7041 from DDDHuang/mb_doc
...
fix(doc): code spelling
2022-02-18 16:38:21 +08:00
lafirest
1a1415a996
fix(emqx_slow_subs): fix upgrade action error
2022-02-18 16:27:22 +08:00
lafirest
513942a2d8
Merge pull request #7056 from lafirest/fix/upgrade
...
fix(emqx_slow_subs): add upgrade action
2022-02-18 15:11:38 +08:00
lafirest
8a75b53052
fix(emqx_slow_subs): add upgrade/downgrade action
2022-02-18 14:32:45 +08:00
lafirest
296f48268e
Merge pull request #7055 from lafirest/fix/changes
...
fix(docs): add slow subs change log
2022-02-18 12:18:10 +08:00
lafirest
0ba6262d06
fix(docs): update slow subs change log
2022-02-18 11:10:57 +08:00
tigercl
4773e6f038
Merge pull request #7053 from HJianBo/update-dashboard-vsn
...
chore: update dashboard vsn
2022-02-18 09:53:51 +08:00
lafirest
24bd7371b7
fix(docs): add slow subs change log
2022-02-18 09:51:48 +08:00
JianBo He
c13f32b2a5
chore: update dashboard vsn
2022-02-18 09:50:33 +08:00
JianBo He
b27ac84625
Merge pull request #7045 from HJianBo/not-stop-application
...
chore(webhook): refine appup.src
2022-02-18 09:21:07 +08:00
Zaiming (Stone) Shi
4b3b2d076a
Merge pull request #7050 from zhongwencool/add-log-trace-changelog
...
fix(doc): add log trace changelog for 4.4.0
2022-02-17 16:35:31 +01:00
zhongwencool
b044eda31f
fix(doc): Update CHANGES-4.4.md
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-02-17 23:10:13 +08:00
zhongwencool
bfa0a741a2
fix(doc): add log trace changelog for 4.4.0
2022-02-17 22:41:10 +08:00
Georgy Sychev
0bd080c063
feat(emqx_bridge_mqtt): ${node} in topic config
...
Adds ${node} interpolation in topic option of configuration
Just like the clientid already works
Closes : #6431
feat(emqx_bridge_mqtt): bumped versions the right way
chore(appup): appups for mqtt bridge
feat(mqtt_bridge): test for bridge config
And also bumped one small version
chore(mqtt_bridge): updated CHANGES-4.3.md
fix(mqtt_bridge): conditional export
chore(mqtt_bridge): appup
2022-02-17 16:05:34 +03:00
Zaiming (Stone) Shi
1b5071410d
Merge pull request #7046 from zmstone/docs-add-otp
...
docs(CHANGES-4.4): add changes of pckage name format
2022-02-17 11:43:41 +01:00
Zaiming (Stone) Shi
0a66d40e39
chore: prepare for 4.4.0-rc.2 release
2022-02-17 11:21:22 +01:00
Zaiming (Stone) Shi
cc1734490f
chore: trigger a version check before pushing a tag
2022-02-17 11:20:19 +01:00
Xinyu Liu
f55419f2a5
Merge pull request #7047 from EMQ-YangM/main-v4.4
...
fix(emqx_rule_metrics): add a function for code hot upgrade
2022-02-17 18:18:39 +08:00
EMQ-YangM
af8bc8ee32
fix(emqx_rule_metrics): add a function for code hot upgrade
2022-02-17 18:15:19 +08:00
Zaiming (Stone) Shi
a96c1284c6
docs(CHANGES-4.4): add changes of pckage name format
2022-02-17 11:00:49 +01:00
JianBo He
fde634ac27
chore(webhook): refine appup.src
2022-02-17 17:48:58 +08:00
Xinyu Liu
09c5114d42
Merge pull request #7042 from Rory-Z/ci/fix-cross-build-fail
...
ci(cross build): fix build raspbian failed on armhf
2022-02-17 16:52:17 +08:00
zhanghongtong
ee7acdfc33
ci(cross build): fix build raspbian failed on armhf
2022-02-17 15:52:36 +08:00
Xinyu Liu
1b5986a5e1
Merge pull request #7044 from terry-xiaoyu/fix_windows_build
...
fix(build): change header of shell script to "#!/usr/bin/env bash"
2022-02-17 15:33:34 +08:00
Shawn
037b9e440c
fix(build): change header of shell script to "#!/usr/bin/env bash"
2022-02-17 15:21:17 +08:00
DDDHuang
42c70cd2a5
fix(doc): code spelling
2022-02-17 14:06:17 +08:00
JianBo He
922ffc1d1c
Merge pull request #7030 from HJianBo/force-appup-for-dashboard
2022-02-17 13:39:41 +08:00
Zaiming (Stone) Shi
8f9b351da8
Merge pull request #7031 from zmstone/chore-rename-var-name-to-avoid-confusion
...
4.3 fix upgrade base package download
2022-02-17 06:05:14 +01:00
Rory Z
545abe2d52
Merge pull request #7006 from Rory-Z/ci/update-target-event
...
ci(build_packages): add target event
2022-02-17 09:33:17 +08:00
JianBo He
480130c1d8
chore(dashboard): bump version
2022-02-17 09:23:40 +08:00
Zaiming (Stone) Shi
62dd815807
chore(scripts): make shellcheck happy
2022-02-16 16:16:35 +01:00
Zaiming (Stone) Shi
538f843f14
fix(relup-base-packages.sh): download per release edition
2022-02-16 16:16:10 +01:00
Zaiming (Stone) Shi
f7135433be
chore(relup-base-vsns.sh): rename PROFILE to EDITION
...
to avoid confusion with rebar profile
2022-02-16 14:10:43 +01:00
JianBo He
4775ea353d
chore: update scripts/apps-version-check.sh
...
Co-authored-by: k32 <10274441+k32@users.noreply.github.com>
2022-02-16 19:41:17 +08:00
JianBo He
e7ce4ed215
chore: force check for version upgrade of emqx_dashboard
...
same with: https://github.com/emqx/emqx/pull/5879
2022-02-16 18:38:55 +08:00
Rory Z
149fe7bcdf
Merge pull request #7010 from Rory-Z/build/add-new-script
...
build(relup): add new script for download relup base packages
2022-02-16 15:57:25 +08:00
zhanghongtong
2acdc64b9d
style(script): rename variable name
2022-02-16 14:52:31 +08:00
JianBo He
7a7b0c8442
Merge pull request #7024 from HJianBo/fix-bad-appup.src
...
chore(emqx): fix mutiply defined module in emqx.appup.src
2022-02-16 14:37:27 +08:00
Zaiming (Stone) Shi
2c3ad3cb2d
Merge pull request #7019 from zmstone/docs-remove-space-from-product-name
...
docs: remove space from product name
2022-02-16 07:18:39 +01:00
JianBo He
a42927f173
chore(emqx): fix mutiply defined module in emqx.appup.src
2022-02-16 13:46:38 +08:00
Zaiming (Stone) Shi
d2840a8aa1
docs: change EMQ X to EMQX in more descriptive info
2022-02-15 22:18:25 +01:00
Zaiming (Stone) Shi
a5f6e94467
docs: EMQ X -> EMQX
2022-02-15 22:12:46 +01:00
Zaiming (Stone) Shi
c766087812
Merge pull request #7016 from zmstone/docs-delete-space-in-EMQX-product-name
...
docs(README): EMQ X -> EMQX
2022-02-15 19:05:42 +01:00
Zaiming (Stone) Shi
e09e5673eb
docs(README): EMQ X -> EMQX
2022-02-15 16:15:25 +01:00
zhanghongtong
091398d863
build(relup): add new script for download relup base packages
2022-02-15 17:57:31 +08:00
JianBo He
cb5fe77706
Merge pull request #7009 from HJianBo/fix-lwm2m-api-node-badmatch
...
fix(lwm2m): fix querying lwm2m client list on the another node
2022-02-15 14:58:18 +08:00
JianBo He
9fb53cb47d
docs: update CHANGES-4.3.md
2022-02-15 11:59:46 +08:00
JianBo He
74aa209207
chore(lwm2m): update app.src & appup.src
2022-02-15 11:59:43 +08:00
JianBo He
425546864d
fix(lwm2m): fix querying lwm2m client list on the another node
2022-02-15 11:23:44 +08:00
zhanghongtong
88769bc23b
ci(build_packages): cancel repeating actions
2022-02-15 10:15:25 +08:00
zhanghongtong
c1f77da3b9
ci(build_packages): add target event
2022-02-15 10:11:34 +08:00
JianBo He
9840b8da59
Merge pull request #7005 from zmstone/merge-v4.3.12-into-main-v4.4
...
Merge tag v4.3.12 into main-v4.4
2022-02-15 09:22:36 +08:00
Zaiming (Stone) Shi
22ae8985c6
chore: compare to rel-* versions for appup
2022-02-14 22:18:53 +01:00
Thales Macedo Garitezi
e1592c41d0
Merge pull request #6979 from thalesmg/bugfix-find-alias-clause
...
fix(channel): wrong case clause when alias is inexistent
2022-02-14 15:24:54 -03: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
b6e9043c49
chore(changelog): update changelog
2022-02-14 13:18:51 -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
Zaiming (Stone) Shi
206b7ac4a9
Merge pull request #6996 from zmstone/feat-add-cli-to-clean-pem-cache
...
feat: add cli to clean pem cache
2022-02-14 16:22:13 +01:00
Zaiming (Stone) Shi
91180595d0
refactor(cli): simplify ACL cache CLI logging
2022-02-14 14:52:34 +01:00
Zaiming (Stone) Shi
f6ca64c76d
feat: add pem cache CLI
2022-02-14 14:52:34 +01:00
JianBo He
a88dd4aaa5
Merge tag 'v4.3.12' into main-v4.4
2022-02-14 19:37:59 +08:00
Zaiming (Stone) Shi
f1b10ec2b0
Merge pull request #6927 from Rory-Z/ci/push-multiarch-image-for-aws
...
ci(build_packages): push muilt arch image for aws ecr
2022-02-14 12:26:56 +01:00
Zaiming (Stone) Shi
9696663a77
Merge pull request #6998 from zmstone/chore-package-name-from-rhel-to-el
...
build: rename distro from 'rhel' to 'el'
2022-02-14 10:47:00 +01:00
Zaiming (Stone) Shi
9f897a650a
build: rename distro from 'rhel' to 'el'
2022-02-14 09:28:29 +01:00
zhanghongtong
7a45ad8900
chore: fix a few typos
2022-02-13 20:50:35 +08:00
Zaiming (Stone) Shi
2a5de6a872
Merge pull request #6995 from zmstone/ci-exclude-instead-of-include
...
ci: use exclude instead of include for build matrix
2022-02-13 07:18:29 +01:00
zhanghongtong
e9238c6ca3
ci: use exclude instead of include for build matrix
2022-02-13 12:51:53 +08:00
Zaiming (Stone) Shi
dfb591cac7
ci: use exclude instead of include for build matrix
...
include is unconditional, as a result, it brins in emqx profile
to enterprise repo
2022-02-12 14:32:54 +01:00
Zaiming (Stone) Shi
5171d3811c
ci: revert to openssl digest for sha256 sum on mac
2022-02-12 12:24:48 +01:00
Zaiming (Stone) Shi
9ff0899b75
Merge pull request #6994 from emqx/fix-sha256sum-on-windows
...
ci: fix sha256sum in windows
2022-02-12 11:04:23 +01:00
Zaiming (Stone) Shi
857e9aee52
ci: fix sha256sum in windows
...
for some reason Get-FileHash (or maybe later piped tools) produced
non-text content
2022-02-12 10:48:28 +01:00
Zaiming (Stone) Shi
71a9489cfe
Merge pull request #6993 from zmstone/ci-fix-action-typo
...
ci: fix action typo repository -> registry
2022-02-11 21:41:54 +01:00
Zaiming (Stone) Shi
257f6cc589
ci: fix action typo repository -> registry
2022-02-11 21:24:40 +01:00
Zaiming (Stone) Shi
17fa49738f
Merge pull request #6991 from emqx/test-debian10-ci
...
wait longer for emqx stop in relup test
2022-02-11 17:21:46 +01:00
Zaiming (Stone) Shi
2df43f8b5f
ci: add more time to allow stop
2022-02-11 16:19:02 +01:00
Zaiming (Stone) Shi
a42403e046
ci: quite unzip
2022-02-11 15:56:25 +01:00
Zaiming (Stone) Shi
28508e23ec
ci: dump logs when failed to stop
2022-02-11 15:20:15 +01:00
DDDHuang
5985b7cb09
Merge pull request #6985 from DDDHuang/ws_client_metrics44
...
feat(ws): more client metrics
2022-02-11 13:43:25 +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
Zaiming (Stone) Shi
089c1d516a
Merge pull request #6974 from zmstone/merge-v4.3-to-v4.4
...
Merge v4.3 to v4.4
2022-02-10 21:18:45 +01:00
Shawn
992e7e66cf
Merge pull request #6957 from thalesmg/fix-ctl-print-43
...
fix(ctl): fix formatting when printing messages without arguments (4.3)
2022-02-10 22:09:06 +08:00
Thales Macedo Garitezi
fdef292ef7
fix(appup): rm redundant `load_module` instruction after `update`
2022-02-10 09:31:36 -03:00
Shawn
646ef25d96
Merge branch 'main-v4.3' into fix-ctl-print-43
2022-02-10 19:13:29 +08:00
JianBo He
d7c432f57c
Merge pull request #6928 from Rory-Z/ci/push-multiarch-image-for-aws-ecr
...
ci(build_packages): push muilt arch image for aws ecr
2022-02-10 18:58:20 +08:00
Zaiming (Stone) Shi
5d856041c7
docs: update CHANGES-4.4 to prepare for 4.4.0 release cut
...
removed bug fixes because 4.4.0 is the first release of 4.4
all bug fixes are forward merged from 4.3
2022-02-10 11:41:13 +01:00
Shawn
b09a38d53f
chore: update release to 4.3.12
2022-02-10 18:30:22 +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
JianBo He
175d6969d4
Merge pull request #6963 from HJianBo/fix_stomp_unexpected_linefeed
...
fix(stomp): fix unexpected_linefeed error if the packet truncated on …
2022-02-10 17:41:51 +08:00
Shawn
40594f9713
Merge pull request #6968 from terry-xiaoyu/ekka_0.8.1.8
...
update changes doc for printable message id
2022-02-10 15:31:18 +08:00
Shawn
475f0be959
docs(CHANGES): update changes doc for #6961
2022-02-10 15:30:34 +08:00
JianBo He
cdfeb46951
test(mqttsn): remove unused vars
2022-02-10 15:30:10 +08:00
JianBo He
289904bbcf
fix(stomp): fix unexpected_linefeed error if the packet truncated on headers
2022-02-10 14:48:45 +08:00
Zaiming (Stone) Shi
3fb5e19cc9
Merge pull request #6959 from zmstone/upgrade-to-ekka-0.8.1.8
...
[4.3] Upgrade to ekka 0.8.1.8
2022-02-10 07:12:35 +01:00
Shawn
967b2e4a74
Merge pull request #6965 from terry-xiaoyu/log_printable_mqtt_msg_id2
...
fix: emqx_message:format/1 failed on undefined message id
2022-02-10 12:45:08 +08:00
Shawn
8cf268dffb
fix: emqx_message:format/1 failed on undefined message id
2022-02-10 12:43:39 +08:00
Shawn
3e962bf5ba
Merge pull request #6962 from terry-xiaoyu/log_printable_mqtt_msg_id2
...
fix(appup): update appup file for module emqx_message
2022-02-10 11:12:59 +08:00
Shawn
038136fc83
fix(appup): update appup file for module emqx_message
2022-02-10 11:04:25 +08:00
Shawn
0a2fa7c17c
Merge pull request #6961 from terry-xiaoyu/log_printable_mqtt_msg_id
...
fix(log): format the message id to hexstring before printing
2022-02-10 10:40:55 +08:00
JimMoen
130b455752
Merge pull request #6960 from JimMoen/update-dashboard
...
chore(dashboard): update dashboard version
2022-02-10 10:37:40 +08:00
JimMoen
5b71ca6ad5
chore(dashboard): update dashboard version
2022-02-10 10:00:37 +08:00
Shawn
3b5b4b99ed
fix(log): format the message id to hexstring before printing
2022-02-10 09:47:33 +08:00
zhanghongtong
fd9b787e9d
ci(build_packages): push muilt arch image for aws ecr
...
done #6870
2022-02-10 09:38:23 +08:00
zhanghongtong
ec0843633c
chore: change step name to match the actual commands
2022-02-10 09:36:16 +08:00
zhanghongtong
c316cc464f
ci(build_packages): push muilt arch image for aws ecr
2022-02-10 09:34:15 +08:00
Shawn
647bcce760
Merge pull request #6955 from emqx/build-rename-centos-to-rhel
...
build: rename centos to rhel
2022-02-10 09:33:06 +08:00
Zaiming (Stone) Shi
12fbcc1330
chore: upgrade to ekka 0.8.1.8
...
print client status before killing due to holding lock for too long
2022-02-09 22:54:57 +01:00
Zaiming (Stone) Shi
fd75756d5c
ci: update to emqx-builder 4.4-5 (rockylinux)
2022-02-09 22:49:08 +01:00
Zaiming (Stone) Shi
4f6876b6e9
ci: package slim-build on rockylinux
2022-02-09 22:16:39 +01:00
Zaiming (Stone) Shi
d863609f43
build: use rockylinux and 'rhel' for package names
2022-02-09 22:13:00 +01: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
lafirest
674752dcb3
Merge pull request #6937 from lafirest/fix/trap_exit
...
fix(emqx_slow_subs): trap the exit message
2022-02-09 09:43:18 +08:00
Zaiming (Stone) Shi
5e7d40fd23
Merge pull request #6941 from savonarola/rebar3-vs-make-4.4
...
[4.4] Rebar3 vs make
2022-02-08 15:24:36 +01:00
Ilya Averyanov
c1d2be3bff
Merge branch 'main-v4.3' into rebar3-vs-make-4.4
...
* main-v4.3:
chore(ci): use make apps/emqx_auth_ldap-ct instead of rebar command
2022-02-08 14:48:19 +03:00
Ilya Averyanov
ca5c34ba96
Merge pull request #6932 from savonarola/rebar3-vs-make-4.3
...
chore(ci): use make apps/emqx_auth_ldap-ct instead of rebar command
2022-02-08 14:38:20 +03:00
lafirest
252514bfe0
fix(emqx_slow_subs): trap the exit message
2022-02-08 18:28:00 +08:00
zhongwencool
4a6ddce43c
Merge pull request #6926 from zhongwencool/trace-crash
...
fix(trace): don't return 500 when emqx_mod_trace not started.
2022-02-08 15:45:27 +08:00
zhongwencool
bcb15f2a95
fix(trace): don't return 500 when emqx_mod_trace not started.
2022-02-08 14:56:02 +08:00
zhongwencool
59ff3090f4
Merge pull request #6935 from zhongwencool/sync-v4.3-to-v4.4
...
Sync v4.3 to v4.4
2022-02-08 14:53:07 +08:00
zhanghongtong
cc56ad272f
fix(helm): remove the default environment variables from the template
2022-02-08 14:06:39 +08:00
zhanghongtong
352635f227
fix(helm): fix deploy error
2022-02-08 10:40:16 +08:00
zhongwencool
617402ed09
Merge branch 'main-v4.4' into sync-v4.3-to-v4.4
2022-02-08 09:59:21 +08:00
Ilya Averyanov
1480efde19
chore(ci): use make apps/emqx_auth_ldap-ct instead of rebar command
2022-02-07 21:55:30 +03:00
Zaiming (Stone) Shi
a18f3bc971
Merge pull request #6860 from fernando-almeida/main-v4.3
...
Updated Helm chart to support new features and updated README
2022-02-07 17:30:36 +01:00
Zaiming (Stone) Shi
e613843ce8
Merge pull request #6930 from zhongwencool/ci-pin-pytest
...
ci(pytest): pin pytest version at 6.2.5.
2022-02-07 17:14:51 +01:00
zhongwencool
51ed6abcd6
ci(pytest): pin pytest version at 6.2.5.
2022-02-07 17:23:13 +08:00
k32
8ed0daf5be
Merge pull request #6911 from k32/rpc-client-driver
...
fix(emqx_schema): Allow to set gen_rpc.default_client_driver
2022-02-02 13:19:44 +01:00
k32
ed98773ca7
fix(emqx_schema): Allow to set gen_rpc.default_client_driver
2022-02-02 12:42:26 +01:00
zhongwencool
3036f02963
Merge pull request #6893 from zhongwencool/watemark-limit-check
...
fix(watermark): hight watermark should greater than low watermark.
2022-01-28 19:06:44 +08:00
Shawn
b5aeba86cd
Merge pull request #6894 from terry-xiaoyu/relup_test_failed
...
fix(CI): build packages failed on release upgrade testing - again
2022-01-28 18:00:00 +08:00
Shawn
633c5c16de
fix(CI): build packages failed on release upgrade testing - again
2022-01-28 17:59:13 +08:00
zhongwencool
579905b92a
fix(watermark): hight watermark should greater than low watermark.
2022-01-28 17:58:11 +08:00
Shawn
3fd978522d
Merge pull request #6891 from terry-xiaoyu/relup_test_failed
...
fix(CI): build packages failed on release upgrade testing
2022-01-28 17:14:09 +08:00
Shawn
a4f873f7cd
fix(CI): build packages failed on release upgrade testing
2022-01-28 17:07:16 +08:00
Shawn
7e26ae4f92
Merge pull request #6889 from HJianBo/fix-modules-appup
...
fix(modules): update the appup.src
2022-01-28 16:02:03 +08:00
JianBo He
1d7a1fde8a
fix(modules): update the appup.src
2022-01-28 15:43:32 +08: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
11a9f6232c
Merge pull request #6884 from emqx/copy_of_main-v4.3
...
Sync code from main-v4.3 to main-v4.4
2022-01-27 19:39:59 +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
Zaiming (Stone) Shi
570bc5023b
Merge pull request #6879 from zmstone/fix-stop-command-defunct-detection
...
fix: stop command should detect defunct pid
2022-01-27 08:25:06 +01:00
zhongwencool
ef82287634
Merge pull request #6883 from zhongwencool/fix-watermark-4.3
...
fix(alarm): watermark replace >= =< with > <
2022-01-27 14:32:16 +08:00
zhongwencool
e2dec09b0d
fix(alarm): watermark replace >= =< with > <
2022-01-27 11:59:48 +08:00
JianBo He
4cdd529b5a
Merge pull request #6866 from HJianBo/remove_connected_at_feild
...
fix(webhook): remove the connected_at field for client.connect
2022-01-27 10:41:53 +08:00
JianBo He
34c489da40
Merge pull request #6868 from HJianBo/fix-stomp-frame-parser
...
Fix the sticky tcp stream parsing
2022-01-27 10:40:37 +08:00
Shawn
a66bfeaa25
Merge pull request #6871 from terry-xiaoyu/rebar3_download
...
fix(ci): add some debug print for downloading rebar3
2022-01-27 09:57:48 +08:00
Zaiming (Stone) Shi
72c909051b
fix: stop command should detect defunct pid
2022-01-26 23:48:31 +01:00
Zaiming (Stone) Shi
61e9fd5f04
Merge pull request #6875 from zmstone/ci-find-upgrade-base-with-script
...
ci: find relup base version using script scripts/relup-base-vsns.sh
2022-01-26 20:52:09 +01:00
Zaiming (Stone) Shi
e5d196569c
ci: find relup base version using script scripts/relup-base-vsns.sh
2022-01-26 18:26:43 +01:00
Zaiming (Stone) Shi
f65cd003c0
Merge pull request #6872 from zmstone/update-windows-build-instructions
...
Update windows build instructions
2022-01-26 13:33:32 +01:00
Zaiming (Stone) Shi
99712d3521
ci: debug windows build
2022-01-26 12:08:32 +01:00
Shawn
301d6bf794
fix(ci): add some debug print for downloading rebar3
2022-01-26 18:55:17 +08:00
Fernando Almeida
b91dc1c13d
fix(helm-chart): revised software name to match conventioned name
...
fix(helm-chart): added missing new-line from resource templates
2022-01-26 09:01:25 +00:00
zhongwencool
d9e7868d64
Merge pull request #6865 from zhongwencool/sys-mem-alarm
...
fix(appup): add emqx.erl to appup.src
2022-01-26 16:40:22 +08:00
JianBo He
18ed00e57e
test(stomp): add testcase for sticky tcp strem
2022-01-26 15:49:51 +08:00
JianBo He
fd88f484d2
fix(stomp): fix the sticky tcp stream parsing
2022-01-26 15:41:14 +08:00
JianBo He
85652aa373
fix(webhook): remove the connected_at field for client.connect
2022-01-26 15:01:36 +08:00
zhongwencool
9d633507f5
fix(appup): add emqx.erl to appup.src
2022-01-26 14:32:00 +08:00
zhongwencool
209eff5552
Merge pull request #6859 from zmstone/merge-v4.3-to-v4.4
...
Merge v4.3 to v4.4
2022-01-26 11:34:57 +08:00
Fernando Almeida
73c452c64d
fix(helm-chart): replace envFromSecret with more broad extraEnvFrom
...
fix(helm-chart): refactored Stateful set for readability.
fix(helm-chart): added missing extra* variables to StatefulSet and README.
fix(helm-chart): added sensible defaults for extra* settings.
2022-01-25 23:43:35 +00:00
Fernando Almeida
86887e8559
fix(helm-chart): fix indentation bug in env configmap
2022-01-25 23:43:35 +00:00
Fernando Almeida
36b5982630
feat(helm-chart): fix value in WSS example
2022-01-25 23:43:35 +00:00
Fernando Almeida
43624d6407
feat(helm-chart): revised emqx env ConfigMap to allow specifying settings also using the namespaced dot notation
...
feat(helm-chart): updated README to include description of previous change and fix value in WSS example
2022-01-25 23:43:35 +00:00
Fernando Almeida
a24e765351
feat(helm-chart): added support for shared ingress annotations
...
feat(helm-chart): revised README to include image.tag setting
2022-01-25 23:43:35 +00:00
Fernando Almeida
6bb2fa666d
feat(helm-chart): added explicit example for enable Websocket SSL.
2022-01-25 23:43:35 +00:00
Fernando Almeida
6a5dc485e2
feat(helm-chart): split configs into multiple files for readability
...
feat(helm-chart): added conditional volumes in StatefulSet
feat(helm-chart): revised checksum logic to include all config
2022-01-25 23:43:35 +00:00
Fernando Almeida
ec902871cf
feat(helm-chart): split ingress into separate files for readability
...
feat(helm-chart): fix ingress to allow custom user path as need (eg. mgmt)
feat(helm-chart): revised README to include missing contents
2022-01-25 23:43:35 +00:00
Zaiming (Stone) Shi
1fe91221ac
docs: remove powershell from Windows build doc
...
Had trouble to make it work
2022-01-25 23:18:13 +01: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
Zaiming (Stone) Shi
268b1ded50
Merge pull request #6857 from zmstone/ci-fix-base-version-match-pattern
...
ci: fix base version match pattern
2022-01-25 22:26:05 +01:00
Zaiming (Stone) Shi
95f950ae00
ci: fix relup base version match pattern
2022-01-25 19:04:55 +01:00
zhongwencool
27392bcf1e
Merge pull request #6846 from zhongwencool/sys-mem-alarm
...
fix: sys_mem alarm is not triggered after reboot.
2022-01-25 18:46:45 +08:00
tigercl
55751b5854
Merge pull request #6850 from DDDHuang/rename_mestics
...
fix(metrics): client metrics key name
2022-01-25 17:56:49 +08:00
DDDHuang
43e528b2ba
fix(cli): emqx_auth_mnesia_cli function spec
2022-01-25 17:11:22 +08:00
DDDHuang
2eae1088ac
fix(metrics): client metrics key name
2022-01-25 17:11:22 +08:00
lafirest
34dcd13097
Merge pull request #6851 from lafirest/fix/esockd_version
...
fix(emqx_limiter): update esockd version
2022-01-25 17:10:09 +08:00
lafirest
669552bd58
fix(emqx_limiter): update esockd version
2022-01-25 17:07:05 +08:00
zhongwencool
78f294cda2
fix: sys_mem alarm is not triggered after reboot.
2022-01-25 16:12:17 +08:00
tigercl
2eb12ada97
Merge pull request #6849 from JimMoen/update-dashboard
...
chore(dashboard): update dashboard version for v4.4.0
2022-01-25 14:47:49 +08:00
JimMoen
cc7770be45
chore(dashboard): update dashboard version for v4.4.0
2022-01-25 14:06:09 +08:00
Shawn
1661c203e4
Merge pull request #6843 from terry-xiaoyu/rebar3_relup_otp24
...
fix(build): relup for otp24 failed
2022-01-25 11:37:30 +08:00
Shawn
362147924d
fix(build): only use rebar3 3.18.0-emqx-1 for OTP 24
2022-01-25 11:02:39 +08:00
lafirest
7e012b7b90
Merge pull request #6844 from lafirest/fix/slow_subs_index
...
fix(emqx_slow_subs): fix index update error
2022-01-24 20:07:36 +08:00
lafirest
1f718fbb94
fix(emqx_slow_subs): fix index update error
2022-01-24 18:16:29 +08:00
Shawn
d422e6e700
fix(build): relup for otp24 failed
...
The defination of `#application{}` record in systools.hrl is changed in OTP 24.
So we need a rebar3 binary compiled with OTP 24.
2022-01-24 18:04:40 +08:00
JianBo He
549e36c681
Merge pull request #6842 from JimMoen/update-dashboard
...
chore(dashboard): update dashboard version
2022-01-24 17:45:17 +08:00
JimMoen
0f1e85a8ad
chore(dashboard): update dashboard version
2022-01-24 17:41:42 +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
JianBo He
ceeeaf37e1
Merge pull request #6819 from HJianBo/merge-main-v4.3-into-v4.4
...
[Conflicts Resolved] Sync main-v4.3 into main-v4.4
2022-01-24 17:04:04 +08:00
lafirest
954e85bb73
fix(emqx_slow_subs): fix qos2 pattern matching error
2022-01-24 17:03:37 +08:00
JianBo He
e5fab4df25
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-24 15:25:01 +08:00
JianBo He
680339ff14
Merge pull request #6840 from zhongwencool/auth-default-user-warnring
...
fix(auth_mnesia): don't force update default user.
2022-01-24 15:24:13 +08:00
JianBo He
f1c8495db7
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-24 15:04:24 +08:00
zhongwencool
efa3e32ee5
fix(auth_mnesia): don't force update default user.
2022-01-24 13:58:37 +08:00
JianBo He
7c31de7c55
Merge pull request #6839 from JimMoen/chore-mgmt-app-vsn
...
chore(app_vsn): revert management app.src repetitive increased
2022-01-24 12:08:52 +08:00
JianBo He
0dee156185
Merge pull request #6838 from EMQ-YangM/main-v4.3
...
fix(emqx_rule_engine_metrics): fix code_change vsn value
2022-01-24 11:39:33 +08:00
JimMoen
287b48d49a
chore(app_vsn): revert management app.src repetitive increased
2022-01-24 11:38:25 +08:00
EMQ-YangM
03d240c59e
fix(emqx_rule_engine_metrics): fix code_change vsn value
2022-01-24 11:14:31 +08:00
JianBo He
e7b6ba509b
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-24 09:29:20 +08:00
Zaiming (Stone) Shi
fcb3ba6cc8
Merge pull request #6828 from JimMoen/fix-typo
...
ci: fix a typo in fvt_tests
2022-01-21 15:14:51 +01:00
JimMoen
cb6f7cb496
ci: fix a typo in fvt_tests
2022-01-21 19:53:49 +08:00
JianBo He
3cf1fb2519
Merge pull request #6827 from lafirest/fix/slow_subs
...
fix(emqx_slow_subs): add default for stats_type
2022-01-21 17:19:00 +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
firest
5ec3b6aef7
fix(emqx_slow_subs): add default for stats_type
2022-01-21 16:25:06 +08:00
JianBo He
b19441df70
Merge pull request #6822 from HJianBo/more-fields-for-webhook
...
Ensure connected_at field for connect/connack/disconnected event
2022-01-21 16:09:04 +08:00
JianBo He
3b4ddd6f51
chore: bump emqx_modules vsn
2022-01-21 15:05:13 +08:00
JianBo He
8f517cebf7
Merge branch 'main-v4.3' into more-fields-for-webhook
2022-01-21 15:01:38 +08:00
JianBo He
c5f9bfc305
Merge pull request #6811 from HJianBo/acl-metrics-fixes
...
refactor(metrics): more clear for acl metrics
2022-01-21 15:00:56 +08:00
JianBo He
4af01bb601
Merge pull request #6814 from zhongwencool/subscribe-api-meta
...
fix(api): sub api return meta
2022-01-21 14:57:21 +08:00
JianBo He
09002c4cd2
revert: revert #6797 due to the acl metrics refactor
2022-01-21 14:24:03 +08:00
JianBo He
f86c1316e7
chore(auth): bump version & update appup.src
2022-01-21 14:24:03 +08:00
JianBo He
f0a3b7754e
refactor: remove the acl metrics for all auth plugins
2022-01-21 14:24:03 +08:00
JianBo He
14538e5f6d
chore(emqx): update appup.src
2022-01-21 14:24:01 +08:00
JianBo He
77609ebd96
chore: bump vsn and update appup.src
2022-01-21 13:52:07 +08:00
JianBo He
ad996afe47
chore: ensure connected_at field for connect/connack/disconnected event
2022-01-21 13:52:05 +08:00
JianBo He
d535d44845
revert: revert #6797 due to the acl metrics refactor
2022-01-21 11:32:10 +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
zhongwencool
140a1c0276
chore(api): add api_sub http api test
2022-01-21 10:56:41 +08:00
JianBo He
508e50af63
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-21 10:44:38 +08:00
zhongwencool
f36791bab9
fix(api): sub api return meta
2022-01-20 18:40:25 +08:00
JianBo He
64a1466af5
Merge pull request #6810 from HJianBo/fix-slow-subs-appvsn
...
fix(plugin-lib): bump vsn to 4.4.1
2022-01-20 17:33:10 +08:00
JianBo He
461f856239
fix(plugin-lib): bump vsn to 4.4.1
2022-01-20 14:10:33 +08:00
zhongwencool
964a77510d
Merge pull request #6797 from zhongwencool/internal-acl-metrics
...
feat(acl): internal acl should support metrics[client.acl.ignore/allow/deny]
2022-01-20 10:36:59 +08:00
Shawn
668aa0ac12
Merge pull request #6800 from terry-xiaoyu/rule_empty_ids
...
fix(rule): deny POST rules or resources with empty ids
2022-01-19 19:58:54 +08:00
Shawn
2d00373e49
fix(appup): update appup file for emqx_rule_engine_api
2022-01-19 19:51:25 +08:00
zhongwencool
4317845482
fix(test): test case failed by unload
2022-01-19 19:48:07 +08:00
Shawn
70c6ac4e0d
fix(rule): deny POST rules or resources with empty ids
2022-01-19 19:22:25 +08:00
zhongwencool
6378cd1f9a
chore(version): bump emqx_modules to 4.3.4
2022-01-19 18:05:51 +08:00
lafirest
48b7cc34b6
Merge pull request #6792 from lafirest/fix/slow_subs_api
...
fix(emqx_slow_subs_api): return error when the module is not enable
2022-01-19 18:01:05 +08:00
zhongwencool
e1274e1117
feat(acl): internal acl should support metrics(client.acl.ignore/allow/deny).
2022-01-19 18:00:54 +08:00
lafirest
d02529b1d5
fix(emqx_slow_subs_api): fix test case error
2022-01-19 16:56:31 +08:00
lafirest
14636a745e
fix(emqx_slow_subs_api): return error when the module is not enable
2022-01-19 16:11:11 +08:00
William Yang
ab7d6def9d
Merge pull request #6782 from qzhuyan/backport/william/ci-macbuild-reduce-build-cache-size-4.3
...
ci(mac): cache otp install only
2022-01-19 09:01:15 +01: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
3549d145a9
Merge pull request #6775 from zhongwencool/sync-from-4.3-to-4.4
...
Sync from 4.3 to 4.4
2022-01-19 12:48:32 +08:00
zhongwencool
50606a7eab
fix(data_import): support v4.4
2022-01-19 11:55:39 +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
zhongwencool
30e07307e9
Merge pull request #6785 from zhongwencool/auth-acl-data-import
...
fix(auth_mnesia): import auth acls data according to different data format
2022-01-19 11:07:33 +08:00
lafirest
ac7b73466d
Merge pull request #6685 from lafirest/refactor/slow_subs
...
refactor(emqx_slow_subs): refactor slow subs
2022-01-19 10:45:21 +08:00
zhongwencool
506be21aa2
fix(auth_mnesia): bump up emqx_mgmt to 4.3.10
2022-01-19 10:36:12 +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
lafirest
0486fb96be
Merge pull request #6778 from lafirest/fix/limiter
...
feat(emqx_limiter): add support for update overall limiter
2022-01-19 09:45:48 +08:00
DDDHuang
8901a85398
Merge pull request #6771 from DDDHuang/client_metrics
...
fix: client metrics count with qos
2022-01-19 09:27:30 +08:00
zhongwencool
19fc143f41
fix(auth_mnesia): import auth acls data according to different data format
2022-01-19 00:12:30 +08:00
William Yang
1170d9b3c3
Merge pull request #6781 from qzhuyan/backport/william/ci-macbuild-reduce-build-cache-size-4.4
...
ci(mac): cache otp install only
2022-01-18 11:51:48 +01:00
William Yang
afa4c7d341
ci(mac): cache otp install only
...
only cache otp installation instead of the entire kerl dir to save cache spaces
2022-01-18 11:49:53 +01:00
DDDHuang
040d04c9fb
fix(test): for paho qos3
2022-01-18 18:46:03 +08:00
William Yang
deaea12aca
ci(mac): cache otp install only
...
only cache otp installation instead of the entire kerl dir to save cache spaces
2022-01-18 11:19:32 +01: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
Shawn
6aacdb7a20
Merge pull request #6768 from terry-xiaoyu/fix_make_relup_failed
...
fix(build): make emqx-zip failed on making relup file
2022-01-18 10:53:59 +08:00
DDDHuang
578199ad3a
fix: client metrics count with qos
2022-01-18 10:38:06 +08:00
Shawn
1e3429986a
fix(ci): download previous zip packages failed
2022-01-18 10:19:02 +08:00
Shawn
f4c9738b99
fix(build): make emqx-zip failed on making relup file
2022-01-18 09:49:50 +08:00
DDDHuang
9385d9473d
Merge pull request #6764 from DDDHuang/client_metrics
...
feat: client metrics with message dropped & timeout
2022-01-17 17:52:05 +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
4178e0e34d
Merge pull request #6755 from terry-xiaoyu/copy-of-main-v4.3
...
Merge v4.3 to v4.4
2022-01-14 16:34:32 +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
51e62468ed
Merge pull request #6717 from zhongwencool/auth-mnesia-default-import
...
fix(auth): force update default mqtt_user when password or hash_type changed.
2022-01-14 15:35:10 +08:00
zhongwencool
5481723513
chore(docs): update changes-4.3.md
2022-01-14 14:55:31 +08:00
zhongwencool
4ba43d3aea
fix(auth): move log outside of transaction
2022-01-14 11:38:28 +08:00
Shawn
cffbe46f0b
Merge pull request #6748 from terry-xiaoyu/fix_restore_action_metrics_in_cluster
...
fix(rule): restore the metrics for actions in cluster
2022-01-14 11:34:08 +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
Shawn
eec566fe40
fix(rule): restore the metrics for actions in cluster
2022-01-14 10:33:32 +08:00
Shawn
0af912f8a9
Merge pull request #6734 from terry-xiaoyu/hook_delivery_drop
...
New Hook: delivery drop
2022-01-14 09:39:32 +08:00
JianBo He
bd9669c73f
Merge pull request #6735 from HJianBo/fix-app-vsn-sync
...
chore: fix the app vsn and appup.src
2022-01-14 09:13:57 +08:00
zhongwencool
e96c9ada52
chore(test): fix typo error
2022-01-14 00:43: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
Zaiming (Stone) Shi
dac0e824c8
build: fix package version regexp match pattern
2022-01-13 18:37:22 +08:00
JianBo He
a46ea363f6
chore: rename CHANGES.md to CHANGES-4.3.md
2022-01-13 18:37:22 +08:00
Zaiming (Stone) Shi
adbb067a91
ci: skip dialyzer race_condition checks
...
backported from 5.0
race_condition check is very RAM demanding
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
JianBo He
0157ef830e
Merge pull request #6731 from HJianBo/main-v4.4-merged-main-v4.3
...
Sync main-v4.3 into main-v4.4
2022-01-13 16:55:06 +08:00
Shawn
a63799742f
fix(channel): update testcases for emqx_channel
2022-01-13 16:10:03 +08:00
JianBo He
0e118dd16d
Merge remote-tracking branch 'ce/main-v4.3' into main-v4.4-merged-main-v4.3
2022-01-13 16:05:00 +08:00
Shawn
a6408cee4f
fix(session): update testcases for emqx_session
2022-01-13 15:28:18 +08:00
zhongwencool
27f5e765b5
fix(export): emqx_auth_mnesia import failed after 4.3.x
2022-01-13 13:53:37 +08:00
Shawn
9f7f5070b2
fix(channel): update the calls to emqx_session APIs
2022-01-13 13:33:27 +08:00
Zaiming (Stone) Shi
720c730baf
Merge pull request #6724 from zmstone/build-fix-version-regexp-pattern
...
build: fix package version regexp match pattern
2022-01-12 23:23:51 +01:00
Zaiming (Stone) Shi
cfc3c076bb
build: fix package version regexp match pattern
2022-01-12 21:50:50 +01:00
Zaiming (Stone) Shi
41ed507f63
Merge pull request #6719 from HJianBo/rename-changes.md
...
chore: rename CHANGES.md to CHANGES-4.3.md
2022-01-12 13:39:14 +01:00
Zaiming (Stone) Shi
a29d04e919
Merge pull request #6720 from zmstone/ci-fix-test-script
...
ci: fix a typo in tests.sh
2022-01-12 13:38:50 +01:00
Zaiming (Stone) Shi
5fc3105afc
Merge pull request #6721 from zmstone/ci-skip-dialyzer-race-condition-check
...
ci: skip dialyzer race_condition checks
2022-01-12 13:38:33 +01:00
Shawn
217acc0154
feat(rule): add new event 'delivery_dropped'
2022-01-12 20:11:08 +08:00
zhongwencool
85d568be60
chore(test): clean up auth_mnesia_SUITE:t_boot config
2022-01-12 19:03:44 +08:00
Zaiming (Stone) Shi
d7b0e753da
ci: skip dialyzer race_condition checks
...
backported from 5.0
race_condition check is very RAM demanding
2022-01-12 11:57:02 +01:00
Zaiming (Stone) Shi
80eed7f2d7
ci: fix a typo in tests.sh
...
NOTE: this typo did not cause anything other than a false message
about a missing file.
2022-01-12 11:54:03 +01:00
JianBo He
6de114f822
chore: rename CHANGES.md to CHANGES-4.3.md
2022-01-12 18:49:18 +08:00
Zaiming (Stone) Shi
1733dd9d13
Merge pull request #6694 from HJianBo/main-v4.4-merged-main-v4.3
...
Sync main-v4.3 into main-v4.4
2022-01-12 11:44:56 +01:00
Shawn
9434c0fa6c
feat(hook): new emqx hook 'delivery.dropped'
2022-01-12 18:34:20 +08:00
zhongwencool
88060c0f9b
chore(auth): bump emqx_auth_mnesia version:4.3.5
2022-01-12 17:34:32 +08:00
zhongwencool
5521b7fa71
fix(auth): force update default mqtt_user when password or hashtype changed.
2022-01-12 17:26:27 +08:00
Shawn
449854fa11
Merge pull request #6647 from EMQ-YangM/main4.3
...
feat(rule_metrics): add more metrics to the rule engine
2022-01-12 14:52:46 +08:00
EMQ-YangM
da8cd5d103
fix(rule_engine_metrics): fxi string:to_integer pattern match error
2022-01-11 22:09:38 -08:00
EMQ-YangM
de58c8e7bc
refactor(rule_engine_metrics): refactor code_change
2022-01-11 22:09:38 -08:00
EMQ-YangM
7605fa5e64
fix(rule_engine_metric): remove unused metrics 'overall_metrics'
2022-01-11 22:09:38 -08:00
JianBo He
492f4dceff
Merge remote-tracking branch 'ce/main-v4.3' into main-v4.4-merged-main-v4.3
2022-01-12 13:59:07 +08:00
JianBo He
c52db52cf8
Merge pull request #6709 from JimMoen/fix-mgmt-appup
...
chore(appup): app version updated after last tag
2022-01-12 11:18:20 +08:00
JianBo He
ccd645b574
Merge pull request #6695 from HJianBo/fix-stomp-frame-tailed-byte
...
Fix stomp frame tailed byte
2022-01-12 11:17:00 +08:00
JimMoen
556a81a80e
chore(appup): app version updated after last tag
2022-01-12 10:09:51 +08:00
JimMoen
92f1b5b01a
Merge pull request #6699 from JimMoen/fix-sub-info
...
fix(mgmt): fix subscription info format
2022-01-11 18:26:43 +08:00
JimMoen
47ba72729f
chore(appup): update appup.src
2022-01-11 16:23:25 +08:00
JimMoen
f2cfde7421
fix(mgmt): fix subscription info format
2022-01-11 15:54:37 +08:00
JianBo He
9efab7d5df
chore(stomp): update appup & app.src
2022-01-11 14:49:40 +08:00
JianBo He
9aa178b51d
fix(stomp): fix parsing rear frame split byte crash
...
fix: https://github.com/emqx/emqx/issues/6693
2022-01-11 14:49:20 +08:00
JianBo He
5424588a72
chore: remove unwanted appup commands that came with merge
2022-01-11 11:13:37 +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
JimMoen
43442577ae
Merge pull request #6494 from JimMoen/fix-os-info
...
fix(telemetry): use required fields, rolling distro use PRETTY_NAME
2022-01-10 17:32:16 +08:00
JimMoen
2fba756aea
chore(telemetry): update appup.src
2022-01-10 17:01:20 +08:00
JimMoen
5c29c20426
fix(telemetry): use required fields, rolling distro use PRETTY_NAME
2022-01-10 17:01:20 +08:00
Shawn
82c6eaa3aa
Merge branch 'main-v4.3' into main4.3
2022-01-10 12:31:12 +08:00
Shawn
2ee683d2f9
Merge pull request #6670 from terry-xiaoyu/restore_action_metrics
...
fix(rule): restore metrics for actions
2022-01-10 12:24:41 +08:00
EMQ-YangM
3956eaddd7
fix(rule_engine_metrics): add more rulge_engine version to emqx_rule_engine.appup.src
2022-01-09 19:27:49 -08:00
Shawn
fbeba39f0d
fix(rule): compare to null variables should return false
2022-01-06 20:36:01 +08:00
Shawn
b7bcb37eab
fix(rule): restore metrics for actions
2022-01-06 20:18:05 +08:00
EMQ-YangM
be81c65eda
feat(rule_engine_metics): add hot upgrade feat
2022-01-06 00:47:17 -08:00
EMQ-YangM
2074dd63f9
test(rule_engine_metrics): add more test
2022-01-05 21:11:52 -08:00
EMQ-YangM
1211c658fc
fix(emqx_rule_engine): change vsn to 4.3.7
2022-01-05 19:18:16 -08:00
EMQ-YangM
fae49ad228
fix(rule_engine_metrics): remove more space
2022-01-05 19:03:28 -08:00
EMQ-YangM
d7a3ade200
fix(rule_engine_matrics): remove more space
2022-01-05 19:00:59 -08:00
EMQ-YangM
2608798826
fix(rule_engine_metrics): fix RuleID reference
2022-01-05 18:56:34 -08:00
EMQ-YangM
c214af2ac0
fix(rule_engine_metics): centralized statistics exception
2022-01-05 18:51:28 -08:00
Zaiming (Stone) Shi
558db58b5d
Merge pull request #6643 from Rory-Z/ci/do-not-static-check-for-4.4
...
ci(static checks): do not run static check
2022-01-05 17:25:39 +01:00
Zaiming (Stone) Shi
c761b1aa3c
Merge pull request #6644 from Rory-Z/ci/do-not-static-check-for-4.3
...
ci(static checks): do not run static check
2022-01-05 17:25:16 +01:00
JianBo He
be12e179f5
Merge pull request #6639 from HJianBo/fix-client-fuzzy-matching
...
fix(mgmt): fix substring matching alg
2022-01-05 18:14:14 +08:00
EMQ-YangM
e5993c9f72
refactor(rule_engine_metrics): remove function 'message()'
2022-01-05 02:08:40 -08:00
EMQ-YangM
c2870b3322
test(rule_engint_metrics): add test for 'FOREACH'
2022-01-05 01:57:18 -08:00
EMQ-YangM
88913a9144
test(rule_engine_metrics): add test 't_metrics'
2022-01-05 01:20:53 -08:00
JianBo He
d6f56cbcbe
fix(mgmt): convert timestamp to milliseconds
2022-01-05 16:38:27 +08:00
JianBo He
9cf03bb18a
fix(mgmt): fix substring matching alg
2022-01-05 16:38:22 +08:00
EMQ-YangM
a5a8aa3b6d
feat(rule_metrics): add more metrics to the rule engine
2022-01-05 00:20:06 -08:00
Rory Z
a9f37f139d
Merge pull request #6638 from Rory-Z/ci/fix-push-error
...
ci(build_packages): only push emqx broker to aws ecr
2022-01-05 15:47:46 +08:00
zhanghongtong
ced2a4a117
ci(static checks): do not run static check
2022-01-05 11:13:26 +08:00
zhanghongtong
cf57b77f03
ci(static checks): do not run static check
2022-01-05 11:09:45 +08:00
Rory Z
6f74a6431c
Merge pull request #6625 from Rory-Z/chore/fix-spelling-errors-for-4.4
...
chore(helm): fix spell errors
2022-01-05 10:38:41 +08:00
Rory Z
c672d8e7a4
Merge pull request #6627 from Rory-Z/chore/use-enterprise-dockerfile
...
ci(build_packages): if it's enterprise, use Dockerfile.enterprise
2022-01-05 10:37:23 +08:00
zhanghongtong
0b12a7e3a2
ci(build_packages): only push emqx broker to aws ecr
2022-01-05 10:12:27 +08:00
Zaiming (Stone) Shi
8f32361311
Merge pull request #6635 from zmstone/build-test-rpm-install-with-yum
...
ci: test rpm install with yum
2022-01-04 21:08:56 +01:00
Zaiming (Stone) Shi
03c8d35480
ci: test rpm install with yum
2022-01-04 17:40:00 +01:00
Rory Z
6b02d93b73
Merge pull request #6630 from emqx/ci/fix-its-error
...
ci(its): fix error
2022-01-04 22:04:34 +08:00
zhanghongtong
6a5c37dab7
ci(its): fix error
2022-01-04 21:03:46 +08:00
Rory Z
afc0fcd0b6
Merge pull request #6628 from Rory-Z/chore/ignore-ldap-error
...
chore(cts): ignore ldap error
2022-01-04 18:21:56 +08:00
Rory Z
ba7b93083e
Merge pull request #6614 from Rory-Z/chore/fix-spelling-errors
...
chore(helm): fix spell errors
2022-01-04 17:59:04 +08:00
zhanghongtong
387af5295c
chore(cts): ignore ldap error
2022-01-04 17:56:58 +08:00
Rory Z
7cd80c25fa
Merge pull request #6620 from Rory-Z/chore/fix-docker-build-error
...
Chore/fix docker build error
2022-01-04 17:50:44 +08:00
Rory Z
7759d94d6b
Merge pull request #6524 from Rory-Z/ci/fix-upload-error
...
ci(build_packages): fix upload error for mac
2022-01-04 17:32:37 +08:00
zhanghongtong
8e88f8b9f9
ci(build_packages): if it's enterprise, use Dockerfile.enterprise
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2022-01-04 16:45:16 +08:00
zhanghongtong
514634e541
ci(build_packages): if it's enterprise, use Dockerfile.enterprise
2022-01-04 16:32:32 +08:00
zhanghongtong
93abd69db1
chore(helm): fix spell errors
2022-01-04 16:19:20 +08:00
zhanghongtong
6d0b6d2896
chore: delete needless docker.mk
2022-01-04 15:00:15 +08:00
zhanghongtong
1627ef78e7
ci(build_packages): update docker build
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2022-01-04 14:27:39 +08:00
Rory Z
c4b6b4d55e
Merge pull request #6615 from Rory-Z/ci/update-bui
...
ci(build_packages): delete needless steps
2022-01-04 11:20:54 +08:00
zhanghongtong
90a2ebfb02
build(docker): update docker build
2022-01-04 11:16:35 +08:00
zhanghongtong
02d347d4ea
ci(build_packages): delete needless steps
2022-01-04 10:49:00 +08:00
tigercl
38a46e1af3
Merge pull request #6519 from Rory-Z/ci/update-cts-4.3
...
ci(cts): use makefile target instead of the rebar command
2022-01-04 10:40:34 +08:00
zhanghongtong
9662eebae8
chore(helm): fix spell errors
2022-01-04 10:08:02 +08:00
Zaiming (Stone) Shi
9ab9a6ebad
Merge pull request #6596 from zmstone/ci-test-specific-package
...
build: ci tests.sh test specific package
2021-12-31 22:13:48 +01:00
Zaiming (Stone) Shi
d69ba4b775
ci: refactor tests package test script
...
Check suffix directly, and fix indentation
2021-12-31 15:35:31 +01:00
Zaiming (Stone) Shi
feecaa6c98
build: ci tests.sh test specific package
2021-12-31 15:35:31 +01:00
JimMoen
bec742b1be
Merge pull request #6505 from JimMoen/v4.x-fix-node-info-format
...
fix(mgmt): fix node info format for specific node
2021-12-31 13:39:43 +08:00
tigercl
b85ed8cc64
Merge pull request #6574 from zmstone/add-scripts-buildx
...
fix(bin/emqx): add boot wait time to 150 seconds
2021-12-30 09:32:39 +08:00
Zaiming (Stone) Shi
bc79e136ff
docs: update CHANGES-4.4
2021-12-30 01:00:56 +01:00
Zaiming (Stone) Shi
8f92d286e3
fix(bin/emqx): bump WAIT_FOR_ERLANG default to 150 seconds
2021-12-30 01:00:56 +01:00
Zaiming (Stone) Shi
a21dade927
build: add scripts/buildx
2021-12-30 01:00:56 +01:00
k32
2240c3e790
Merge pull request #6573 from k32/fix-retainer-topic-printing
...
fix(retainer): Fix topic printing
2021-12-29 19:22:20 +01:00
k32
5addf91873
fix(retainer): Fix topic printing
...
Fixes : #6559
2021-12-29 18:27:47 +01:00
Thales Macedo Garitezi
5a6225d397
Merge pull request #6480 from emqx/improve-update-appup-43
...
chore(update_appup): Improve `update_appup.escript`
2021-12-28 09:54:52 -03:00
Zaiming (Stone) Shi
4a7b1bb7d8
Merge pull request #6551 from zmstone/fix-portable-shebang
...
fix: portable shebang
2021-12-28 11:04:22 +01:00
tigercl
a7538ca7fb
Merge pull request #6546 from terry-xiaoyu/ci_emqx_start_failed
...
CI emqx start failed
2021-12-28 09:40:04 +08:00
Zaiming (Stone) Shi
967dc7d55e
fix: portable shebang
2021-12-27 15:40:25 +01:00
Shawn
26c0f2c96e
fix(CI): show outputs of erlang console if ./bin/emqx start failed
2021-12-27 17:26:54 +08:00
JianBo He
98b9eb9fe1
Merge pull request #6489 from HJianBo/fix-receive-maximum
...
fix: disconnect the client due to exceed receive-maximum packets
2021-12-23 14:02:59 +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
zhanghongtong
499c1ab2f4
ci(build_packages): fix upload error for mac
2021-12-23 00:02:42 +08:00
tigercl
f10e5d78e4
Merge pull request #6522 from Rory-Z/ci/delete-needless-steps
...
Ci/delete needless steps
2021-12-22 21:46:51 +08:00
zhanghongtong
1136b16281
ci(build_packages): fix docker tag error
2021-12-22 21:11:19 +08:00
zhanghongtong
67f4bba694
ci(build_packages): delete needless packages
2021-12-22 20:26:06 +08:00
tigercl
9b632c034f
Merge pull request #6516 from Rory-Z/ci/fix-env-error
...
ci(cts): fix env error
2021-12-22 16:52:23 +08:00
zhanghongtong
5fbd999ef8
ci(cts): fix env error
2021-12-22 16:48:42 +08:00
zhanghongtong
a560174ad9
ci(cts): use makefile target instead of the rebar command
2021-12-22 16:46:58 +08:00
zhanghongtong
15f40889c6
ci(cts): fix env error
2021-12-22 16:01:58 +08:00
Shawn
1af13e10a9
Merge pull request #6514 from terry-xiaoyu/fix_ldap_ct
...
fix(test): revert the changes on ldap ct
2021-12-22 12:05:11 +08:00
Shawn
e15eadde72
fix(test): revert the changes on ldap ct
2021-12-22 12:00:45 +08:00
tigercl
9179542816
Merge pull request #6511 from Rory-Z/ci/update-cts
...
ci(cts): fix spell error
2021-12-22 10:32:40 +08:00
zhanghongtong
f5ec6b730c
ci(cts): fix spell error
2021-12-22 10:22:56 +08:00
tigercl
15949f06ca
Merge pull request #6510 from Rory-Z/ci/update-cts
...
ci(cts): use makefile target instead of the rebar command
2021-12-22 10:06:37 +08:00
zhanghongtong
c1480ab52c
ci(cts): use makefile target instead of the rebar command
2021-12-22 09:40:09 +08:00
tigercl
8a54bb180a
Merge pull request #6504 from tigercl/chore/bump-release
...
chore(release): update emqx release version
2021-12-21 17:15:51 +08:00
zhouzb
e768c601ab
chore(release): update emqx release version
2021-12-21 17:05:22 +08:00
JimMoen
7e9870cc3f
chore(mgmt): update appup.src
2021-12-21 01:12:17 -05:00
JimMoen
0ee589ca61
fix(mgmt): fix node info format for specific node
2021-12-21 01:07:01 -05:00
tigercl
9746bd3134
Merge pull request #6499 from tigercl/docs/changes-4.4
...
docs(change log): add change log for 4.4-beta.1
2021-12-21 13:47:47 +08:00
zhouzb
c74dc11c92
docs(change log): add change log for 4.4-beta.1
2021-12-21 13:42:49 +08:00
Thales Macedo Garitezi
62ff6a8b30
chore(update_appup): rm unused value
2021-12-20 13:41:14 -03:00
Thales Macedo Garitezi
b2396438a0
chore(update_appup): add expected versions check
...
For apps inside emqx umbrella, we try to bump only the patch part of
their version numbers, and use only 3-part version
numbers (`Major.Minor.Patch`). With those assumptions, we may infer
all versions that need to be covered in a given upgrade, and check if
those are covered in regexes.
2021-12-20 13:38:08 -03:00
Thales Macedo Garitezi
ce4a193cbb
chore(update_appup): rm unused fn
2021-12-20 13:21:01 -03:00
Thales Macedo Garitezi
af3a1326d1
chore(update_appup): bugfix: variable not pinned in lambda
2021-12-20 13:21:01 -03:00
JianBo He
b972c2aec1
Merge pull request #6490 from terry-xiaoyu/update_vsn
2021-12-20 22:10:02 +08:00
tigercl
1743c5e8b0
Merge pull request #6488 from terry-xiaoyu/ekka_vsn
...
update versions of some app
2021-12-20 18:16:52 +08:00
Shawn
23e4e101a4
chore(dashboard): bump lib-ce/emqx_dashboard to 4.3.8
2021-12-20 15:42:16 +08:00
Shawn
799aabdd04
chore(emqx): bump emqx to 4.4.0
2021-12-20 15:12:09 +08:00
Shawn
22814dc161
chore(coap): update gen_coap to v0.4.2
2021-12-20 15:07:29 +08:00
Shawn
88e7c40423
chore(ekka): update ekka vsn to 0.8.1.7
2021-12-20 14:19:45 +08:00
tigercl
2966f4a09b
Merge pull request #6487 from Rory-Z/ci/fix-update-error
...
ci(release): only push emqx broker image to aws ecr
2021-12-20 10:58:10 +08:00
zhanghongtong
f78be5a4be
ci(release): only push emqx broker image to aws ecr
2021-12-20 10:25:23 +08:00
Thales Macedo Garitezi
fef8a18bfb
chore(update_appup): insert `load_module`s after `application:stop`
...
If there is already any `application:stop(Application)` call in the
appup instructions, we prefer to add `load_module` instructions after
it, so we can be sure that the load is replaced safely.
2021-12-17 16:53:56 -03:00
Thales Macedo Garitezi
42ca5ab5a9
chore(update_appup): do not force appup render if contents are the same
...
To avoid losing comments and/or manual indentation in appup files that
are already up to date, we now check whether the contents have the
exact same terms as those we are about to write to an existint .appup
file.
2021-12-17 16:53:56 -03:00
Thales Macedo Garitezi
e1e72c144a
chore(update_appup): do not use load_module if restart_application
...
Since the appup instruction `restart_application` already loads all
modules of a given application, there is no need to introduce those
instructions if a restart is already present.
2021-12-17 16:53:56 -03:00
Thales Macedo Garitezi
3ff6661a58
chore(update_appup): take regexes into account when comparing vsns
...
This change makes the `update_appup.escript` check whether the new
version of an application (the _current_ one) is already contained in
entries in the _new_ .appup file for that application if such .appup
file contains regexes.
NOTE: this does not cover the case in which we calculate the
difference between _old_ and _new_ appup entries, and those consist of
regexes. In such case, we would need to check if one regex is
"contained" in the other, which is not currently supported by this
patch.
2021-12-17 16:53:55 -03:00
Zaiming (Stone) Shi
ccca1f53fa
chore: add details about ekka fix
2021-12-17 19:51:09 +01:00
Zaiming (Stone) Shi
5066be2385
Merge pull request #6477 from zmstone/fix-changes.md-typos
...
chore: fix CHANGES.md typos
2021-12-17 16:43:00 +01:00
Zaiming (Stone) Shi
caa6134e3b
chore: fix CHANGES.md typos
2021-12-17 16:42:37 +01:00
tigercl
fcca7f84f3
Merge pull request #6476 from zmstone/chore-introduce-CHANGE.md
...
chore: add CHANGE.md
2021-12-17 23:34:46 +08:00
Zaiming (Stone) Shi
83734612a2
chore: add CHANGE.md
2021-12-17 16:18:23 +01:00
tigercl
e443225af6
Merge pull request #6475 from zmstone/fix-emqx-appup
...
fix(appup): add missing beams to emqx.appup.src
2021-12-17 21:03:46 +08:00
tigercl
e756eb99fb
Merge pull request #6474 from tigercl/chore/vsns
...
chore(vsn): bump ehttpc and ekka version
2021-12-17 20:49:18 +08:00
Zaiming (Stone) Shi
c1cbf39552
fix(appup): add missing beams to emqx.appup.src
...
also re-formated emqx_sn.appup.src
2021-12-17 13:41:25 +01:00
zhouzb
dc9631514d
chore: ensure version bump for dashboard app
2021-12-17 20:28:54 +08:00
zhouzb
49bfabc4dc
chore(vsn): bump ehttpc and ekka version
2021-12-17 19:41:41 +08:00
tigercl
de7d510552
Merge pull request #6421 from Rory-Z/chore/bump-otp-version
...
ci: bump otp version to 24.1.5-3
2021-12-17 18:16:03 +08:00
Shawn
66e848b771
fix(code_port): improve node stop wait loop
2021-12-17 17:42:55 +08:00
tigercl
a585536a3b
Merge pull request #6468 from emqx/main-v4.3
...
Sync v4.3 to v4.4
2021-12-17 13:37:55 +08:00
tigercl
865d999e39
Merge pull request #6466 from emqx/improve_pgsql
...
chore(autotest): Improve pgsql script and change file path in emqx-fvt warehouse
2021-12-17 11:24:18 +08:00
xiangfangyang-tech
2da7f91c42
chore(autotest): improve jmeter installation mode
2021-12-17 10:50:58 +08:00
xiangfangyang-tech
0e9b608737
chore(autotest): improve pgsql script and change file path in emqx-fvt warehouse
2021-12-17 10:33:33 +08:00
tigercl
462c6efa5a
Merge pull request #6454 from terry-xiaoyu/user_property
...
fix(rules): add SQL test examples for user properties
2021-12-17 09:19:09 +08:00
Shawn
a1a9d002e3
fix(rules): add SQL test examples for user properties
2021-12-16 17:13:34 +08:00
zhongwencool
4af36ed744
Merge pull request #6448 from zhongwencool/log-trace-clientid-utf8
...
fix: trace not work if clientid is utf8
2021-12-15 15:59:41 +08:00
zhongwencool
b592565363
fix: trace not work if client is utf8
2021-12-15 09:53:46 +08:00
zhanghongtong
baf8d7d91c
ci: bump otp version to 24.1.5-3
2021-12-14 10:45:08 +08:00
zhongwencool
b4f9fe90be
Merge pull request #6442 from zhongwencool/v4.4-modules-appup
...
chore: clean up emqx_modules's appup.src for 4.4.0
2021-12-14 10:24:29 +08:00
zhongwencool
ce3006c916
chore: clean up emqx_modules's appup.src for 4.4.0
2021-12-14 10:12:05 +08:00
zhongwencool
d362d10d30
Merge pull request #6437 from HJianBo/update_coap_lwm2m_deps
...
chore: upgrade coap&lwm2m tag for otp24
2021-12-13 22:32:13 +08:00
zhongwencool
d50282dba6
Merge pull request #6434 from tigercl/chore/crypto
...
chore(otp): be compatibility with crypto in otp 24
2021-12-13 22:31:07 +08:00
tigercl
afc068a219
Merge pull request #6439 from terry-xiaoyu/otp_24_warnings_ssl
...
OTP 24 warnings ssl
2021-12-13 21:48:11 +08:00
Shawn
e9b8fc8606
fix(OTP): OTP 24 warnings for ssl:ssh_accept/1,2
2021-12-13 20:10:02 +08:00
JimMoen
61eb0e443c
Merge pull request #6438 from JimMoen/sync-from-v4.3
2021-12-13 19:35:38 +08:00
JimMoen
d76159d543
Merge remote-tracking branch 'emqx/main-v4.3' into sync-from-v4.3
2021-12-13 18:46:23 +08:00
JianBo He
396d328a70
chore: upgrade coap&lwm2m tag for otp24
2021-12-13 18:29:12 +08:00
zhouzb
9d14604935
chore: bump versions of jwt and pgsql authn to 4.4.0
2021-12-13 16:23:09 +08:00
zhouzb
a93c63f168
chore(otp): be compatibility with crypto in otp 24
2021-12-13 16:04:15 +08:00
zhongwencool
5eb4b6c173
Merge pull request #6423 from zhongwencool/fix-create-trace-failed
...
fix(trace): create trace validate type and filter more strictly
2021-12-11 16:36:25 +08:00
zhongwencool
e59c5cc3f3
fix(trace): create trace validate type and filter more strictly
2021-12-11 15:26:15 +08:00
Ilya Averyanov
38aa3d637e
Merge pull request #6425 from savonarola/ranch-compat-4.4
...
[4.4] fix(wss): update cowboy & ranch for OTP24 compatibility
2021-12-10 23:25:52 +03:00
Ilya Averyanov
c410571ee2
fix(wss): update cowboy & ranch for OTP24 compatibility
2021-12-10 20:39:25 +03:00
JimMoen
812d123453
Merge pull request #6416 from JimMoen/log-for-proxy-protocol
...
feat(frame): better log for proxy_protocol config disabled
2021-12-10 18:37:49 +08:00
JimMoen
24060285c5
chore(appup): update appup.src
2021-12-10 18:08:47 +08:00
JimMoen
bad314ae08
chore(gitignore): update gitignore
2021-12-10 18:08:47 +08:00
JimMoen
3ecc79e1bc
test(frame): test packet proxy_protocol config disabled
2021-12-10 18:08:47 +08:00
JimMoen
b9acf94fd7
feat(frame): better log for proxy_protocol config disabled
2021-12-10 18:08:47 +08:00
tigercl
f1c707e4de
Merge pull request #6368 from Spycsh/main-v4.3
...
chore: fix main-v4.3 support for networking.k8s.io/v1
2021-12-10 18:07:11 +08:00
tigercl
9f90837b39
Merge pull request #6419 from emqx/sync-from-v4.3
...
Sync from v4.3
2021-12-10 17:59:13 +08:00
JimMoen
9a43125c9b
Merge pull request #6420 from JimMoen/revert-topic-level-default-conf
...
revert(emqx_conf): zone.external.max_topic_levels
2021-12-10 09:43:14 +08:00
Spycsh
5c497975a6
chore: fix main-v4.3 support for networking.k8s.io/v1
2021-12-09 21:41:55 +01:00
tigercl
832700b0ff
Merge pull request #6418 from tigercl/chore/webhook-appup
...
chore(webhook): update appup
2021-12-09 20:27:01 +08:00
JimMoen
db8131d2a5
revert(emqx_conf): zone.external.max_topic_levels
...
revert part of changes in 289415b5aa
2021-12-09 20:13:40 +08:00
zhongwencool
f3fffb6156
Merge pull request #6417 from zhongwencool/fix-sn-appup-file
...
fix(emqx_sn): appup.src miss 4.3.2
2021-12-09 18:54:33 +08:00
tigercl
2ed5e01054
Merge branch 'main-v4.4' into sync-from-v4.3
2021-12-09 18:49:38 +08:00
zhouzb
b6ffacc062
chore(appup): fix appup for webhook
2021-12-09 18:46:13 +08:00
zhouzb
aa04df4d1b
chore(webhook): update appup
2021-12-09 18:40:45 +08:00
zhongwencool
7477615324
fix(emqx_sn): appup.src miss 4.3.2
2021-12-09 17:26:57 +08:00
Zaiming (Stone) Shi
a81f2ce315
Merge pull request #6414 from tigercl/chore/ehttpc-vsn
...
perf(http): bump ehttpc version
2021-12-09 09:38:30 +01:00
tigercl
42cfc6c5e6
Merge pull request #6272 from Rory-Z/ci/add-push-ecr-for-4.4
...
ci: add new steps for push ecr image when release
2021-12-09 16:05:17 +08:00
William Yang
f72002949b
Merge pull request #6403 from qzhuyan/backport/william/4.3/systemd-restart-on-failure
...
Backport/william/4.3/systemd restart on failure
2021-12-09 08:38:39 +01:00
zhouzb
63a6ac2f5f
perf(http): bump ehttpc version
2021-12-09 15:26:41 +08:00
Thales Macedo Garitezi
d2b2a4ea99
Merge pull request #6404 from emqx/bugfix-live-chan-count
...
fix(live_conn): fix live connection count on race condition
When multiple clients try to connect concurrently using the same
client ID, they all call `emqx_channel:ensure_connected`, increasing
the live connection count, but only one will successfully acquire the
lock for that client ID. This means that all other clients that
increased the live connection count will not get to call neither
`emqx_channel:ensure_disconnected` nor be monitored for `DOWN`
messages, effectively causing a count leak.
By moving the increment to `emqx_cm:register_channel`, which is only
called inside the lock, we can remove this leakage.
Also, during the handling of `DOWN` messages, we now iterate over all
channel PIDs returned by `eqmx_misc:drain_down`, since it could be
that one or more PIDs are not contained in the `pmon` state.
2021-12-08 15:10:24 -03:00
Thales Macedo Garitezi
d435f1211e
fix(live_conn): fix live connection count on race condition
...
When multiple clients try to connect concurrently using the same
client ID, they all call `emqx_channel:ensure_connected`, increasing
the live connection count, but only one will successfully acquire the
lock for that client ID. This means that all other clients that
increased the live connection count will not get to call neither
`emqx_channel:ensure_disconnected` nor be monitored for `DOWN`
messages, effectively causing a count leak.
By moving the increment to `emqx_cm:register_channel`, which is only
called inside the lock, we can remove this leakage.
Also, during the handling of `DOWN` messages, we now iterate over all
channel PIDs returned by `eqmx_misc:drain_down`, since it could be
that one or more PIDs are not contained in the `pmon` state.
2021-12-08 10:33:57 -03:00
Tobias Lindahl
756a256137
Merge pull request #6396 from emqx/fix-takeover-race-on-enqueued-messages-v4.3
2021-12-08 11:01:25 +01:00
Zaiming (Stone) Shi
c2cc3c78f1
Merge pull request #6395 from zhongwencool/sync-from-4.3
...
Sync from 4.3
2021-12-08 10:57:55 +01:00
Rory Z
cdc70d8ccc
Merge pull request #6271 from Rory-Z/ci/add-push-ecr-for-4.3
...
ci: add new steps for push ecr image when release
2021-12-08 17:30:44 +08:00
Rory Z
29a9bbe5d5
Merge pull request #6386 from Rory-Z/chore/helm-support-cluster-discovery-by-dns
...
chore(helm): support cluster discovery by dns
2021-12-08 17:30:18 +08:00
lafirest
99989ecca6
Merge pull request #6400 from lafirest/fix/emqx_slow_subs
...
fix(emqx_slow_subs): fix threshold related bugs
2021-12-08 15:54:29 +08:00
lafirest
e651becd99
fix(emqx_slow_subs): fix threshold related bugs
...
1. limit the interval between calling hooks
2. improve the code of update threshold
2021-12-08 15:05:39 +08:00
tigercl
a92712e429
Merge pull request #6399 from tigercl/fix/webhook-path
...
fix(webhook): fix the issue that the path field does not support rule engine variables
2021-12-08 14:22:51 +08:00
zhouzb
83981e7c87
fix(webhook): fix the issue that the path field does not support rule engine variables
2021-12-08 11:27:58 +08:00
William Yang
ac5307a3a5
Merge pull request #6389 from qzhuyan/backport/william/4.3/systemd-restart-on-failure
...
Backport/william/4.3/systemd restart on failure
2021-12-07 19:54:43 +01:00
zhongwencool
2c2145dfe6
Merge branch 'main-v4.3' into sync-from-4.3
2021-12-07 23:20:01 +08:00
Tobias Lindahl
2348e612fa
fix(emqx_channel): fix race condition in session takeover
...
Sessions must not enqueue messages when another process is taking over
the client id, since it already passed on the message queue in the
session state.
Without this fix, messages arriving after `{takeover, 'begin'} to a
channel with no connection (i.e., a persistent session) would be lost.
2021-12-07 16:05:49 +01:00
zhongwencool
9965288947
Merge pull request #6391 from zhongwencool/trace-bug-fix
...
fix: trace handler start time not correct
2021-12-07 22:58:55 +08:00
William Yang
bcbb0822cf
build(deb): fix postrm for checking systemd
2021-12-07 13:30:08 +01:00
zhongwencool
be6160f5bd
fix: trace handler start time not correct
2021-12-07 20:24:56 +08:00
William Yang
55893dbf5c
ci(deb): remove systemV test
2021-12-07 12:49:40 +01:00
William Yang
517aa39542
build(deb): deb pkg enable/disable emqx system
2021-12-07 12:48:51 +01:00
William Yang
be8284666a
build(deb): remove System V init
2021-12-07 12:43:07 +01:00
William Yang
16e39ffee7
build: rpm and deb use the same systemd service file
2021-12-07 12:42:59 +01:00
William Yang
79f1b8651a
build(deb): drop systemV init
2021-12-07 12:42:49 +01:00
William Yang
51f1a48983
fix(systemd-start): /usr/bin/emqx is bash not sh
2021-12-07 12:42:44 +01:00
William Yang
eba8c08853
fix(systemd): add restart on failure
2021-12-07 12:42:32 +01:00
JimMoen
72a7f353c6
Merge pull request #6379 from JimMoen/v4.3/fix-vm-mem-info
...
fix(vm): memory info calc and display
2021-12-07 17:54:39 +08:00
zhanghongtong
e7c765aaa3
chore(helm): support cluster discovery by dns
2021-12-07 16:23:19 +08:00
JimMoen
dc2c17826e
chore(appup): update appup.src
2021-12-07 14:23:40 +08:00
JimMoen
14aa408b5e
style: make elvis happy
2021-12-07 14:17:33 +08:00
JimMoen
c5e28bd32b
fix(vm): add literal_alloc memory calculation
2021-12-07 14:17:33 +08:00
JimMoen
ceed9678e3
fix(mgmt): node memory usage info
2021-12-07 14:17:33 +08:00
zhongwencool
26fa06b071
Merge pull request #6380 from zhongwencool/v4.4-trace-bug-fix
...
fix: trace_name format [A-Za-z0-9-_];retry if trace_file not find
2021-12-07 09:25:13 +08:00
Thales Macedo Garitezi
462955e6bc
Merge pull request #6381 from emqx/bump-ekka-0-8-1-6-v43
...
chore(ekka): bump ekka to 0.8.1.6
We're doing this to remove some missing change warnings when updating
emqx v4.3.10. Ekka's appup was updated in emqx/ekka#140 .
<details>
<summary> `update_appup.escript` output after update (running against 4.3.10) </summary>
```
Found the previous appup file: _build/emqx/rel/emqx/lib/ekka-0.8.1.6/ebin/ekka.appup
INFO: Application 'ekka' has been updated: "0.8.1.4" -> "0.8.1.6"
... elided ...
ERROR: Appup file for the external dependency 'ehttpc' is not complete.
Missing changes: #{down =>
[{"0.1.10",
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.0">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.[1-7]">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]}],
up =>
[{"0.1.10",
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.[0-7]">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]}]}
NOTE: Some changes above might be already covered by regexes.
ERROR: Incomplete appups found. Please inspect the output for more details.
```
</details>
2021-12-06 13:18:03 -03:00
zhongwencool
d4dd4a124c
fix: trace_name format [A-Za-z0-9-_];waiting status if create time to closed"
2021-12-06 20:51:42 +08:00
Thales Macedo Garitezi
3d308cf5a2
chore(ekka): bump ekka to 0.8.1.6
...
We're doing this to remove some missing change warnings when updating
emqx v4.3.10. Ekka's appup was updated in emqx/ekka#140 .
2021-12-06 09:21:13 -03:00
lafirest
acb63eeb7c
Merge pull request #6366 from lafirest/feat/dynamic_threshold
...
feat(emqx_slow_subs): add dyanamic threshold
2021-12-06 17:42:08 +08:00
lafirest
3f49e3186c
fix(emqx_slow_subs): add default threshold macro
2021-12-06 17:22:36 +08:00
lafirest
48f8c735ea
feat(emqx_slow_subs): add dyanamic threshold
2021-12-03 18:11:07 +08:00
zhongwencool
fb1bfcac8e
Merge pull request #6363 from zhongwencool/v4.4-trace-api-crash
...
fix: trace len > 1 return 500
2021-12-03 11:31:53 +08:00
zhongwencool
28e76e498c
fix: trace len > 1 return 500
2021-12-03 10:24:36 +08:00
zhongwencool
9f7db2eacb
Merge pull request #6357 from zhongwencool/4.3-sn-registry
...
fix: e4.4.0 failed to join e4.3.0 cluster
2021-12-03 09:32:46 +08:00
Zaiming (Stone) Shi
f7d6cc12ce
Merge pull request #6358 from HJianBo/change_terminate_log_level_to_debug
...
chore(conn): change terminated print to debug level
2021-12-02 13:10:58 +01:00
JianBo He
ef6f867304
chore(conn): change terminated print to debug level
2021-12-02 18:01:36 +08:00
zhongwencool
f14a9d7da6
chore: bump emqx_sn to 4.3.4
2021-12-02 16:46:57 +08:00
zhongwencool
41a547d36d
fix: e4.4.0 failed to join e4.3.0 cluster
2021-12-02 16:19:36 +08:00
JianBo He
fdacb9040d
Merge pull request #6343 from HJianBo/drop-empty-retain-msg
...
[4.3][Retainer] Allow to stop publish clear message
2021-12-02 11:16:30 +08:00
Shawn
0cec0cff95
Merge pull request #6323 from terry-xiaoyu/stop_ecpool_failed_v4.3
...
chore(appup): bump ecpool to 0.5.2
2021-12-01 18:37:21 +08:00
Shawn
0d1b194906
Merge pull request #6286 from terry-xiaoyu/mqtt_bridge_hangs
...
MQTT bridge hangs with an unreachable IP
2021-12-01 18:33:42 +08:00
JianBo He
10ffe11ba0
chore(retainer): update appup.src
2021-12-01 17:11:40 +08:00
JianBo He
e323b66285
test(retainer): testcase for stop_publish_clear_msg
2021-12-01 17:11:40 +08:00
JianBo He
8aaa2e8333
feat(retainer): add option to stop publish clear message
2021-12-01 17:11:38 +08:00
zhongwencool
20a98bee62
Merge pull request #6324 from zhongwencool/create-trace-schema-runtime
...
fix: create trace schema at runtime
2021-11-30 09:12:48 +08:00
Thales Macedo Garitezi
c16d5e4bb5
Merge pull request #6307 from emqx/update-appup-ext-deps-diff
...
chore(appup): make update_appup.escript output only differences for external dependencies
Currently, the update_appup.escript outputs as an error the full appup
file for external dependencies, even if all the changes are already
contained in the depency. Here, we make it only output the missing
actions to be inserted, to aid in seeing what are the differences.
<details>
<summary> Output before: </summary>
```
ERROR: Appup file for the external dependency 'ekka' is not complete.
Missing changes: [{"0.8.1.4",
[{load_module,ekka_cluster_dns,brutal_purge,
soft_purge,[]},
{load_module,ekka_node_monitor,brutal_purge,
soft_purge,[]}]},
{"0.8.1.3",
[{load_module,ekka_node_monitor,brutal_purge,
soft_purge,[]},
{load_module,ekka_autocluster,brutal_purge,
soft_purge,[]},
{load_module,ekka_autoheal,brutal_purge,
soft_purge,[]},
{load_module,ekka_locker,brutal_purge,soft_purge,
[]},
{load_module,ekka_cluster_dns,brutal_purge,
soft_purge,[]}]},
{"0.8.1.2",
[{load_module,ekka_ring,brutal_purge,soft_purge,[]},
{load_module,ekka_cluster_dns,brutal_purge,
soft_purge,[]},
{load_module,ekka_node_monitor,brutal_purge,
soft_purge,[]},
{load_module,ekka_autocluster,brutal_purge,
soft_purge,[]},
{load_module,ekka_autoheal,brutal_purge,
soft_purge,[]},
{load_module,ekka_locker,brutal_purge,soft_purge,
[]},
{load_module,ekka_httpc,brutal_purge,soft_purge,
[]}]},
{"0.8.1.1",
[{load_module,ekka_cluster_dns,brutal_purge,
soft_purge,[]},
{load_module,ekka_ring,brutal_purge,soft_purge,[]},
{load_module,ekka_node_monitor,brutal_purge,
soft_purge,[]},
{load_module,ekka_httpc,brutal_purge,soft_purge,[]},
{load_module,ekka_autocluster,brutal_purge,
soft_purge,[]},
{load_module,ekka_autoheal,brutal_purge,
soft_purge,[]},
{load_module,ekka_locker,brutal_purge,soft_purge,
[]}]},
{"0.8.1",
[{load_module,ekka_cluster_dns,brutal_purge,
soft_purge,[]},
{load_module,ekka_ring,brutal_purge,soft_purge,[]},
{load_module,ekka_node_monitor,brutal_purge,
soft_purge,[]},
{load_module,ekka_autocluster,brutal_purge,
soft_purge,[]},
{load_module,ekka_autoheal,brutal_purge,
soft_purge,[]},
{load_module,ekka_locker,brutal_purge,soft_purge,
[]},
{load_module,ekka_httpc,brutal_purge,soft_purge,[]},
{load_module,ekka_mnesia,brutal_purge,soft_purge,
[]}]}]
ERROR: Appup file for the external dependency 'ehttpc' is not complete.
Missing changes: [{"0.1.10",
[{load_module,ehttpc_pool,brutal_purge,soft_purge,
[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.[0-7]">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,
[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]},
{update,ehttpc,{advanced,[]}}]},
{<<"0\\.1\\.([8-9]|(1[0-1]))">>,
[{load_module,ehttpc,brutal_purge,soft_purge,[]},
{load_module,ehttpc_pool,brutal_purge,soft_purge,
[]}]},
{<<".*">>,[]}]
```
</details>
<details>
<summary> Output after: </summary>
```
ERROR: Appup file for the external dependency 'ekka' is not complete.
Missing changes: #{down =>
[{"0.8.1.4",
[{load_module,ekka_cluster_dns,brutal_purge,soft_purge,[]}]}],
up => []}
NOTE: Some changes above might be already covered by regexes.ERROR: Appup file for the external dependency 'ehttpc' is not complete.
Missing changes: #{down =>
[{"0.1.10",
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.0">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.[1-7]">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]}],
up =>
[{"0.1.10",
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]},
{<<"0\\.1\\.[0-7]">>,
[{load_module,ehttpc_pool,brutal_purge,soft_purge,[]},
{load_module,ehttpc,brutal_purge,soft_purge,[]}]}]}
NOTE: Some changes above might be already covered by regexes.
ERROR: Incomplete appups found. Please inspect the output for more details.
```
</details>
2021-11-29 16:38:53 -03:00
zhongwencool
0d218df14d
fix: replace ct:sleep/1 by filesync/2
2021-11-29 23:08:56 +08:00
zhongwencool
1b14b79286
fix: create trace schema at runtime
2021-11-29 22:15:31 +08:00
Thales Macedo Garitezi
93caddd448
refactor(review): factor out common functionality
2021-11-29 10:23:54 -03:00
tigercl
25215244be
Merge pull request #6192 from turtleDeng/publish-api-user-properties
...
feat(publish-api): Publish api support user-properties parameters
2021-11-29 15:00:04 +08:00
Shawn
6eb919ea66
chore(appup): bump ecpool to 0.5.2
2021-11-29 14:20:57 +08:00
lafirest
8dd4d88d5b
fix(emx_slow_updates): fix the error of topk update ( #6312 )
2021-11-26 14:57:25 +08:00
lafirest
fef3fc27cb
refactor(emqx_slow_subs): refactor use moving average ( #6287 )
...
* refactor(emqx_slow_subs): refactor use moving average
* fix(emqx_slow_subs): change elapsed to latency, and fix some error
* fix(emqx_slow_subs): fix emqx_mgmt_api.erl indent
* fix(emqx_slow_subs): change api name
* fix(emqx_slow_subs): fix and improve some code
* fix(emqx_slow_subs): move clienid filed from latency_stats to session
2021-11-26 10:42:15 +08:00
Thales Macedo Garitezi
2e93ec0f3d
Merge pull request #6290 from emqx/sys-mon-more-info-43
...
feat(sys_mon): Add proc_lib:initial_call/1 and current_stacktrace (4.3)
(Same as #6289 )
This adds the information from `proc_lib:initial_call/1` and the
current stacktrace from the process info to `emqx_sys_mon:procinfo/1`
to aid in debugging some warnings with no context such as the
following:
```
2021-11-23T12:33:59.387818+00:00 [warning] info: [{old_heap_block_size,45988046},{heap_block_size,22177879},{mbuf_size,0},{stack_size,40},{old_heap_size,22354134},{heap_size,7106339}], line: 130, mfa: emqx_sys_mon:handle_info/2, msg: large_heap, procinfo: [{pid,<0.2667.0>},{memory,579763664},{total_heap_size,68510672},{heap_size,22177879},{stack_size,40},{min_heap_size,233},{initial_call,{proc_lib,init_p,5}},{current_function,{gen,do_call,4}},{registered_name,[]},{status,running},{message_queue_len,360945},{group_leader,<0.1660.0>},{priority,normal},{trap_exit,false},{reductions,16493271},{last_calls,false},{catchlevel,4},{trace,0},{suspending,[]},{sequential_trace_token,[]},{error_handler,error_handler}]
```
2021-11-25 17:06:16 -03:00
Thales Macedo Garitezi
0932920d36
chore(appup): make update_appup.escript output only differences for
...
external dependencies
Currently, the update_appup.escript outputs as an error the full appup
file for external dependencies, even if all the changes are already
contained in the depency. Here, we make it only output the missing
actions to be inserted, to aid in seeing what are the differences.
2021-11-25 15:21:25 -03:00
Thales Macedo Garitezi
5c693beadd
chore(appup): remove `load_module` instructions if `restart_application`
...
> the restart_application instruction will be translated into module
load instructions by otp release handler.
2021-11-25 12:08:02 -03:00
Thales Macedo Garitezi
64ce2eea1c
chore(appup): run ./scripts/update_appup.escript to bump vsns
2021-11-25 12:08:02 -03:00
Thales Macedo Garitezi
0260db6640
feat(sys_mon): Add proc_lib:initial_call/1 and current_stacktrace (4.3)
...
(Same as #6289 )
This adds the information from `proc_lib:initial_call/1` and the
current stacktrace from the process info to `emqx_sys_mon:procinfo/1`
to aid in debugging some warnings with no context such as the
following:
```
2021-11-23T12:33:59.387818+00:00 [warning] info: [{old_heap_block_size,45988046},{heap_block_size,22177879},{mbuf_size,0},{stack_size,40},{old_heap_size,22354134},{heap_size,7106339}], line: 130, mfa: emqx_sys_mon:handle_info/2, msg: large_heap, procinfo: [{pid,<0.2667.0>},{memory,579763664},{total_heap_size,68510672},{heap_size,22177879},{stack_size,40},{min_heap_size,233},{initial_call,{proc_lib,init_p,5}},{current_function,{gen,do_call,4}},{registered_name,[]},{status,running},{message_queue_len,360945},{group_leader,<0.1660.0>},{priority,normal},{trap_exit,false},{reductions,16493271},{last_calls,false},{catchlevel,4},{trace,0},{suspending,[]},{sequential_trace_token,[]},{error_handler,error_handler}]
```
2021-11-25 12:08:02 -03:00
JimMoen
18a9c0e177
fix:change default configuration of `max_topic_levels` #6294
2021-11-25 16:16:54 +08:00
JimMoen
289415b5aa
fix(conf): change `max_topic_levels` default configuration
2021-11-25 09:52:12 +08:00
Shawn
f5ac6fb714
chore(appup): bump emqx_bridge_mqtt to 4.3.3
2021-11-25 09:46:06 +08:00
Thales Macedo Garitezi
15b71c118b
Merge pull request #6291 from emqx/fix-update-appup-script
...
chore(appup): minor fixes to update_appup.escript
- Fixes clause error on `create_stub/1`.
- Small optimization: do not download the same file multiple times
with `wget`.
- Fix: remove old file extension (`.app.src`) and preserve dirname
when creating stubs for apps.
2021-11-24 17:10:00 -03:00
Thales Macedo Garitezi
29f982385d
chore(appup): remove old file extension and preserve dirname for apps
2021-11-24 15:09:25 -03:00
Thales Macedo Garitezi
c950566294
chore(appup): minor fixes to update_appup.escript
...
- Fixes clause error on `create_stub/1`.
- Small optimization: do not download the same file multiple times
with `wget`.
2021-11-24 14:22:51 -03:00
Shawn
3b9bb1d66c
fix(ecpool): update ecpool to 0.5.2
2021-11-24 18:57:23 +08:00
Shawn
a54668e83b
fix(mqtt_bridge): the mqtt bridge hangs with an unreachable IP
2021-11-24 17:11:04 +08:00
Zaiming Shi
39e52d583e
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2021-11-23 23:18:43 +01:00
Zaiming (Stone) Shi
2e26b8dfed
Merge pull request #6246 from zmstone/upgrade-otp-to-23.2.7.2-emqx-3
...
build: upgrade to otp sed 23.2.7.2-emqx-3
2021-11-23 21:38:19 +01:00
Zaiming Shi
c4b0008ebd
build: delete arch suffix from alpine build-env image tag
2021-11-23 17:06:46 +01:00
zhanghongtong
b87ed0666c
ci: add new steps for push ecr image when release
2021-11-23 17:54:17 +08:00
zhanghongtong
5a3169b83a
ci: add new steps for push ecr image when release
2021-11-23 17:36:27 +08:00
Zaiming (Stone) Shi
afd55b31e8
build: define default builder docker image tag ( #6245 )
...
prior to this change, the OTP_VSN varaible was taken from
the docker host's OTP version which may differ from the
desired OTP version for the docker builder image.
2021-11-23 09:34:56 +08:00
Zaiming (Stone) Shi
2514f474b0
Sync v4.3 to v4.4 ( #6262 )
...
* fix(http): fix duplicate http headers
* chore(appup): add appup.src
* fix(appup): fix multiply defined module in appup
* chore(appup): fix wrong version
* chore(ekka): Bump version to 0.8.1.5
* fix(update_appup): Fix warnings, add support for external repos
* build: use find command's -delete option
* ci: do not sync master branch
* build: ensure openssl11
* build: copy only libcrypto and libtinfo
* fix(trace): handler_id now always return atom
Co-authored-by: zhouzb <zhouzb@emqx.io>
Co-authored-by: k32 <10274441+k32@users.noreply.github.com>
2021-11-23 09:33:20 +08:00
Zaiming (Stone) Shi
b6064ce2c0
Merge pull request #6259 from zmstone/build-do-not-pack-glibc
...
build: copy only libcrypto and libtinfo
2021-11-22 17:20:20 +01:00
Zaiming (Stone) Shi
95e8671c7f
Merge pull request #6261 from zmstone/chore-trace-try-to-use-original-name
...
refactor(trace): hash non-printable or too long names
2021-11-22 17:16:48 +01:00
Zaiming Shi
0f52824872
refactor(trace): hash non-printable or too long names
2021-11-22 16:59:17 +01:00
Zaiming (Stone) Shi
1c64a9d95d
Merge pull request #6251 from zhongwencool/log-trace-api
...
feat: add support ip_address trace options
2021-11-22 16:19:53 +01:00
Zaiming Shi
122842a656
build: copy only libcrypto and libtinfo
2021-11-22 15:46:19 +01:00
zhongwencool
30fb9dd7ae
fix: name must be printable unicode and len < 256
2021-11-22 22:20:02 +08:00
zhongwencool
a91f975dc2
fix: make sure keepalive only 0~65535 ( #6232 )
2021-11-22 18:08:48 +08:00
zhongwencool
d76275d17d
feat: add support ip_address trace options
2021-11-22 15:20:24 +08:00
Turtle
62dc72c859
feat(sql_rule): test rule add User-Property information
2021-11-22 11:04:21 +08:00
lafirest
4767b41eb7
fix(emqx_st_statistics): fix initial value error ( #6224 )
...
* fix(emqx_st_statistics): fix initial value error
2021-11-21 18:55:43 +08:00
Zaiming Shi
1cb6cdbd76
build: upgrade to otp sed 23.2.7.2-emqx-3
...
There was a typo fix in ssl app for ecdsa_secp512r1_sha512
to ecdsa_secp521r1_sha512.
Hot-beam upgrade is supported when upgrading from OTP 23.2.7.2-emqx-2
just a 'ssl_cipher' module reload.
2021-11-20 23:28:12 +01:00
Zaiming (Stone) Shi
efcdcc555f
Merge pull request #6239 from zmstone/build-ensure-openssl11
...
build: ensure openssl11
2021-11-20 17:12:07 +01:00
Zaiming (Stone) Shi
7de0891201
Merge pull request #6243 from emqx/ci-port-changes-from-master-branch
...
ci: port changes made in master branch
2021-11-20 17:11:42 +01:00
Zaiming Shi
099e2a8752
ci: port changes made in master branch
2021-11-19 23:03:06 +01:00
Zaiming (Stone) Shi
ef41361753
Merge pull request #6233 from zmstone/ci-do-not-sync-master-branch
...
ci: do not sync master branch
2021-11-19 13:46:11 +01:00
Zaiming Shi
0b3037a571
build: ensure openssl11
2021-11-19 12:39:59 +01:00
Zaiming Shi
f1aaed9276
ci: do not sync master branch
2021-11-19 08:46:53 +01:00
tigercl
35e32acf4a
Merge pull request #6195 from tigercl/fix/multi-http-headers
...
fix(http): fix duplicate http headers
2021-11-19 11:32:43 +08:00
Zaiming (Stone) Shi
747c609ec8
Merge pull request #6214 from zmstone/build-delete-potentially-broken-symlinks
...
build: ensure symlinks in _build dir are deleted after fetching deps
2021-11-18 13:35:00 +01:00
k32
df8fe88ac8
Merge pull request #6225 from k32/update-appup-ekka
...
fix(update_appup): Fix warnings, add support for external repos
2021-11-18 13:32:25 +01:00
Zaiming Shi
ef36774189
build: use find command's -delete option
2021-11-18 13:20:53 +01:00
k32
113cfa6422
fix(update_appup): Fix warnings, add support for external repos
2021-11-18 12:31:02 +01:00
k32
b45296680d
Merge pull request #6221 from k32/ekka
...
chore(ekka): Bump version to 0.8.1.5
2021-11-18 12:28:31 +01:00
k32
5dc2e04e55
chore(ekka): Bump version to 0.8.1.5
2021-11-18 10:24:03 +01:00
zhanghongtong
daeac6edf4
chore(release): update emqx release version
2021-11-18 15:26:36 +08:00
zhanghongtong
d1cf526f34
ci: fix permission error when check sha256
2021-11-18 14:45:00 +08:00
lafirest
42333882c8
fix(emqx_st_statistics): fix unsafe rank range ( #6207 )
...
* fix(emqx_st_statistics): fix unsafe rank range
2021-11-18 14:41:59 +08:00
zhouzb
b460172649
chore(appup): fix wrong version
2021-11-18 14:39:46 +08:00
zhanghongtong
093a93a7ec
ci: fix not found package when check sha256
2021-11-18 14:27:37 +08:00
zhanghongtong
eb0f4a543d
ci: fix upload artifact error
2021-11-18 10:35:03 +08:00
Rory Z
e5ffe8d7d5
Merge pull request #6216 from emqx/sync-v4.3-to-v4.4
...
Sync v4.3 to v4.4
2021-11-18 09:37:58 +08:00
Zaiming Shi
c07f32f1ce
Merge branch 'build-delete-potentially-broken-symlinks' into sync-v4.3-to-v4.4
2021-11-18 00:23:40 +01:00
Zaiming Shi
cd4923d5b2
Merge remote-tracking branch 'origin/main-v4.3' into sync-v4.3-to-v4.4
2021-11-18 00:23:32 +01:00
Zaiming Shi
5db4607815
build: ensure symlinks in _build dir are deleted after fetching deps
...
In CI, the source code is downloaded with make deps-all
zipped and uploaded as an GitHub action artifact to be
downloaded in later steps to build packages
The symlinks are abs paths, meaning it might be broken
when unziped (inside docker containers)
This fix adds a `make clean` step after the deps-all target
and the `clean` target also removes rebar.lock and symlinks
2021-11-17 23:27:10 +01:00
William Yang
a0fb78a38d
Merge pull request #6209 from qzhuyan/backport/william/4.3/node_dump-log-dir
2021-11-17 21:36:11 +01:00
Zaiming Shi
2a55a712d1
build: prepare for 4.4-alpha.1 release
2021-11-17 13:58:09 +01:00
William Yang
59656b3c3a
fix: source emqx_vars in node_dump tool
2021-11-17 13:19:05 +01:00
William Yang
4f0d86dd57
fix(node_dump): locate log dir for package installation
2021-11-17 13:18:59 +01:00
Zaiming (Stone) Shi
14eea4647b
Merge pull request #6198 from Rory-Z/ci/cancel-otp-vsn-for-docker
...
ci: cancel otp vsn for docker image tag
2021-11-17 11:07:48 +01:00
Zaiming (Stone) Shi
f30e21b4d6
Merge pull request #6188 from zmstone/feat-add-flexible-docker-build
...
feat(docker): add flexible docker build
2021-11-17 09:24:14 +01:00
Zaiming Shi
35164951e2
feat(docker): add flexible docker build
...
The defulat docker build (e.g. make emqx-docker) is based on alpine
image and it builds EMQ X from source code.
This is not flexible enough when we want to quickly run some tests
in a docker container.
The new docker build (e.g. make emqx-docker-testing) by default takes
the built zip package, and extract it in a very primitive base image
such as ubuntu:20.04 and centos:8
2021-11-17 08:31:35 +01:00
zhanghongtong
834240a760
ci: cancel otp vsn for docker image tag
...
add otp vsn for docker labels
2021-11-17 15:30:44 +08:00
zhouzb
3b25df9b47
fix(appup): fix multiply defined module in appup
2021-11-17 15:18:16 +08:00
zhanghongtong
af5f93d81a
build: show macos version
2021-11-17 14:43:03 +08:00
zhanghongtong
45965a3e71
ci: update emqx-ci-helper version
2021-11-17 14:43:03 +08:00
Zaiming (Stone) Shi
739703ea01
Merge pull request #6186 from zmstone/build-fix-rpm-release-scheme
...
build: Move otp version number to RPM's release part
2021-11-17 07:42:37 +01:00
zhouzb
f948eb927d
chore(appup): add appup.src
2021-11-17 14:31:37 +08:00
zhouzb
5e3fe6714e
fix(http): fix duplicate http headers
2021-11-17 14:14:12 +08:00
Turtle
ca1ece3db0
feat(publish-api): Publish api supports user-properties parameters
2021-11-17 11:17:10 +08:00
tigercl
f335edaf6a
Merge pull request #6170 from tigercl/feat/mongo-migration
...
feat(migration): improve modules migration and add test cases
2021-11-17 09:42:09 +08:00
Zaiming Shi
a070708e8d
build: Move otp version number to RPM's release part
2021-11-16 19:14:15 +01:00
Zaiming (Stone) Shi
8b0478e663
Merge pull request #6184 from zmstone/chore-parameterise-docker-file
...
build: parameterise path to Dockerfile
2021-11-16 16:46:09 +01:00
Zaiming Shi
ced2429011
fix: bump new feature lib-ce apps to 4.4
2021-11-16 16:08:36 +01:00
Zaiming Shi
4d9854012e
build: parameterise path to Dockerfile
2021-11-16 16:08:36 +01:00
Rory Z
addf0de4be
Merge pull request #6152 from Rory-Z/chore/rename-packages-name
...
Chore/rename packages name
2021-11-16 19:17:56 +08:00
Zaiming Shi
db802ad04f
chore: update toos-versions to pin 23.3.4.9-3
2021-11-16 11:35:13 +01:00
Zaiming Shi
49f164788b
Merge remote-tracking branch 'rory/chore/rename-packages-name' into chore/rename-packages-name
2021-11-16 11:35:01 +01:00
zhanghongtong
284d122372
ci: pin otp version to 23.3.4.9-3 and builder version to 4.4-2
2021-11-16 18:33:21 +08:00
zhanghongtong
39c564c072
ci: rename windows packae
2021-11-16 17:56:33 +08:00
zhanghongtong
2251159c4f
build: pin otp version to 23.3.4.9-3 and builder version to 4.4-2
2021-11-16 17:56:33 +08:00
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
e34055b6ef
chore: pin OTP-23.2.7.2-emqx-3
2021-11-16 06:21:12 +01:00
zhanghongtong
a178b6cc08
ci: fix make docker error for github action
2021-11-16 11:31:50 +08:00
Zaiming Shi
755dd11b07
build: always pull image before build
2021-11-16 01:28:42 +01:00
Zaiming Shi
3f1fc64a98
build: fix source rpm package name
2021-11-16 01:10:52 +01:00
Zaiming Shi
c97c6aefc9
build: rename zip package and rpm deb packages
2021-11-16 00:59:28 +01:00
Zaiming Shi
b68f01e7e7
build: do not print 'otp' prefix for otp version
2021-11-15 23:42:19 +01:00
Zaiming Shi
d350281270
build: pin ghcr.io/emqx/emqx-builder/4.4-1:23.3.4.9-2-ubuntu20.04
2021-11-15 23:33:23 +01:00
Zaiming Shi
f711f78c5c
build: pin otp version 23.3.4.9-2
2021-11-15 23:17:21 +01:00
Zaiming Shi
a6032d5435
build: update default otp versions
2021-11-15 23:04:31 +01:00
Zaiming (Stone) Shi
c36ffc7ccb
Merge pull request #6174 from zmstone/main-v4.4-alpha.1
...
sync v4.3 to v4.4
2021-11-15 21:32:40 +01:00
Zaiming (Stone) Shi
684e51a865
Merge branch 'main-v4.4' into main-v4.4-alpha.1
2021-11-15 20:11:42 +01:00
Zaiming Shi
ca1458d4d7
chore(emqx_rule_engine): bump app vsn to 4.4.0
2021-11-15 15:34:48 +01:00
k32
25f6633aaa
Merge pull request #6169 from k32/gen-rpc-ssl-4
...
feat(rpc): Bump gen_rpc version
2021-11-15 14:29:52 +01:00
k32
32086f97ec
Merge branch 'main-v4.4' into gen-rpc-ssl-4
2021-11-15 13:47:54 +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
zhouzb
2f279b3607
test(migration): fix code scope
2021-11-15 18:14:51 +08:00
zhouzb
fce93c5a17
feat(migration): improve modules migration and add test cases
2021-11-15 17:44:23 +08:00
zhongwencool
96d2615cc8
fix: return error code when trace log not foundd ( #6168 )
2021-11-15 17:41:22 +08:00
k32
61c68ddb35
feat(rpc): Bump gen_rpc version
2021-11-15 10:27:08 +01:00
Zaiming (Stone) Shi
7dc944a154
Merge pull request #6160 from zmstone/chore-check-version-before-build
...
build: ensure git tag matches release version
2021-11-15 09:07:37 +01:00
zhongwencool
23e2bd62c5
fix: there should not be multiple layers of directories when download trace zip file ( #6165 )
2021-11-15 15:53:49 +08:00
zhanghongtong
cace53a02b
build: update docker build
2021-11-15 14:33:23 +08:00
tigercl
8c119ea6d9
Merge pull request #6149 from Rory-Z/main-v4.4
...
chore(cluster): add new type for dns auto cluster
2021-11-15 13:48:19 +08:00
tigercl
276db400c2
Merge pull request #6150 from tigercl/feat/mongo-srv
...
feat(mongo srv): support srv for mongodb authentication
2021-11-15 11:25:17 +08:00
zhongwencool
6bd5fd218e
chore: limit/page to position/bytes ( #6161 )
2021-11-15 11:02:45 +08: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
lafirest
87a2667e35
fix(emqx_retainer): fix timer message error ( #6156 )
...
* fix(emqx_retainer): fix timer message error
2021-11-15 10:57:59 +08:00
zhanghongtong
f46084438b
chore(cluster): add new type for dns auto cluster
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-11-15 10:46:52 +08:00
zhanghongtong
7e91a47be8
ci: update workflows
2021-11-15 10:45:27 +08:00
zhanghongtong
454f609aa6
build: emqx package name scheme include otp version
2021-11-15 10:45:27 +08:00
zhouzb
cb18538957
fix(mong srv): fix wrong configuration
2021-11-15 10:27:56 +08:00
zhouzb
25f504c90a
feat(mongo srv): support srv for mongodb authentication
2021-11-15 10:26:38 +08:00
Shawn
d305111929
Merge pull request #6076 from HJianBo/enhance-message-hook
...
feat(exhook): expose headers for on_messages_publish hook
2021-11-15 10:23:16 +08:00
JianBo He
f7bdd6defe
chore(lwm2m): fix bad appup.src
2021-11-15 09:50:32 +08:00
JianBo He
08cf0326b3
chore(exhook): bump version to 4.4.0
2021-11-15 09:50:32 +08:00
JianBo He
6b40048d29
chore: put the pool_size default value to avoid hot upgrade failure
2021-11-15 09:50:32 +08:00
JianBo He
2be33b33e3
chore: fix elvis warnings
2021-11-15 09:50:32 +08:00
JianBo He
f194ae65d2
chore: update appup.src
2021-11-15 09:50:32 +08:00
JianBo He
8dfc8ed96b
chore: fill message headers
2021-11-15 09:50:32 +08:00
JianBo He
7d06e48b4b
chore: remove needless catch
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2021-11-15 09:50:32 +08:00
JianBo He
f2d99017a0
chore(exhook): update appup.src
2021-11-15 09:50:32 +08:00
JianBo He
641f36514f
chore: fix elvis warnings
2021-11-15 09:50:32 +08:00
JianBo He
5922521e49
test(props): cover messages headers
2021-11-15 09:50:32 +08:00
JianBo He
44008b9a6d
chore: fix compiling warnings
2021-11-15 09:50:32 +08:00
JianBo He
c170d076e3
feat(exhook): expose process pool_size for grpc client
2021-11-15 09:50:32 +08:00
JianBo He
b756e7d17a
chore: upgrade grpc to 0.6.4
2021-11-15 09:50:32 +08:00
JianBo He
012c741592
chore(exhook): update appup.src
2021-11-15 09:50:32 +08:00
JianBo He
ef2a5c1dc7
chore(exhook): fix diaylzer 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
Zaiming Shi
0971567cff
build: ensure git tag matches release version
2021-11-14 18:23:30 +01:00
lafirest
ad4d3fc652
chore(emqx_retainer): refresh the timestamp when dispatch retained message ( #6155 )
...
1. refresh the timestamp when dispatch retained message
2. fix some elvis style error
2021-11-12 21:26:44 +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
Zaiming (Stone) Shi
5f8d9db64b
Merge pull request #6142 from HJianBo/put-message-headers
...
Fill the message headers
2021-11-12 12:51:48 +01:00
JianBo He
54bb3ddaf2
Merge branch 'main-v4.3' into put-message-headers
2021-11-12 19:25:39 +08:00
Zaiming Shi
d512c474be
Merge tag 'v4.3.10' into main-v4.3
2021-11-12 11:52:54 +01:00
Zaiming (Stone) Shi
5412cf4c78
Merge pull request #6154 from lafirest/fix/revert_refresh_retained
...
Revert "fix(emqx_retainer): refresh the timestamp when dispatch retai…
2021-11-12 11:38:38 +01:00
firest
e9ce8e7586
fix(emqx_retainer): revert the "refresh the timestamp when dispatch retained message"
...
This reverts commit 66d0c44e36
.
2021-11-12 18:36:26 +08:00
zhongwencool
f3de1bdb77
fix: make sure enable boolean() ( #6147 )
2021-11-12 15:48:30 +08:00
JianBo He
d8f37be210
chore(lwm2m): fix bad appup.src
2021-11-12 15:38:49 +08:00
lafirest
66d0c44e36
fix(emqx_retainer): refresh the timestamp when dispatch retained message ( #6148 )
2021-11-12 14:51:02 +08:00
Shawn
e7bbe98a7a
fix(ekka): update ekka to 0.8.2
2021-11-12 14:48:58 +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
tigercl
0003b05247
Merge pull request #6138 from emqx/chore/release
...
chore(release): update version to 4.3.10
2021-11-12 11:34:45 +08:00
JianBo He
8e4c2c88c3
chore: use PROTO_VER marco
2021-11-12 10:45:26 +08:00
JianBo He
439fb3a403
chore: fix elvis warnings
2021-11-12 10:43:21 +08:00
JianBo He
0c5cb1b9ac
chore: update appup.src
2021-11-12 10:43:21 +08:00
JianBo He
4c29c3a5e5
chore: fill message headers
2021-11-12 10:43:21 +08:00
zhouzb
04a4462f1e
chore(release): update version to 4.3.10
2021-11-12 10:36:27 +08:00
zhongwencool
7193cd4275
feat(trace): move common trace module to plugin_libs ( #6127 )
...
* feat(trace): move common mod to plugin_libs
* fix: elvis warning
2021-11-12 07:33:36 +08:00
lafirest
9d4f2916c2
refactor(emqx_st_statistics): optimize the code directory structure ( #6128 )
2021-11-11 23:49:54 +08:00
JianBo He
edb2793180
Merge pull request #6126 from zmstone/test-fix-flaky-emqx-cm-test
...
Test fix flaky emqx cm test
2021-11-11 18:20:48 +08:00
Zaiming (Stone) Shi
1d20a8b720
Merge pull request #6116 from zmstone/4.3-chore-ehttpc-pin-0.1.12
...
chore(ehttpc): pin 0.1.12
2021-11-11 10:47:01 +01:00
Zaiming Shi
21898e1daf
chore(emqx_dashboard): bump version after v4.3.10 release
2021-11-11 10:34:29 +01:00
Zaiming Shi
74b6b5214a
test(emqx_cm_SUITE): add a gen_server call sync
2021-11-11 10:33:31 +01: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
cc7b1aa93e
Merge pull request #6121 from HJianBo/ensure-start-listeners-before-plugin
...
Ensure starting listeners before plugins loading
2021-11-11 14:52:15 +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
lafirest
1dd18aa07a
fix(emqx_st_statistics): change emqx_st_statistics implementation fro… ( #6115 )
...
* fix(emqx_st_statistics): change emqx_st_statistics implementation from plugin to module
2021-11-11 10:16:06 +08:00
Zaiming Shi
98136ff119
chore(ehttpc): pin 0.1.12
2021-11-10 14:41:37 +01:00
zhongwencool
06a1b37992
fix(test): flaky mqtt expiry test case. ( #6111 )
2021-11-10 15:41:31 +08:00
zhongwencool
fa34d8353e
fix(test): flaky mqtt expiry test case. ( #6112 )
2021-11-10 15:40:46 +08:00
JianBo He
a81140fd00
Merge pull request #6110 from HJianBo/force-clear-stomp-listener
...
fix(emqx_stomp): fix hot-upgrade stopping listener failed
2021-11-10 11:43:51 +08:00
Shawn
133609a040
fix(relup): configs for plugins are missing after relup
2021-11-10 11:10:23 +08:00
lafirest
fae815b35c
Feat/slow topic api ( #6101 )
...
* feat(emqx_st_statistics): add api
2021-11-10 11:08:06 +08:00
Shawn
388c29344a
fix(relup): configs for plugins are missing after relup
2021-11-10 10:25:02 +08:00
JianBo He
fefadbcd17
fix(emqx_stomp): fix hot-upgrade stopping listener failed
...
When the upgrade is executed, all envs of plugins are cleared,
which causes the listener of stomp to stop failing.
This is only a temporary modification to ensure that the upgrade
can be executed successfully.
following fixes: https://github.com/emqx/emqx/pull/6105
2021-11-10 10:02:37 +08:00
lafirest
f60f92b95d
Merge pull request #6074 from lafirest/improve/slow_topic
...
improve(emqx_st_statistics): optimize the implementation of topk
2021-11-09 13:46:44 +08:00
lafirest
354b0bc08e
refactor(emqx_st_statistics): optimize the implementation of topk
2021-11-09 11:51:10 +08:00
Shawn
77c82cf189
fix(code_style): some elvis complaints
2021-11-09 10:30:29 +08:00
Shawn
2242bb9376
fix(rule): force max speed to 2 decimal digits of precision
2021-11-09 10:30:29 +08:00
Shawn
00ba4d32f3
fix(syntax): allow single quotes in the FROM clause
2021-11-09 09:31:58 +08:00
JianBo He
00ae24fd6a
Merge pull request #6097 from zmstone/chore-bump-pkg-vsn-to-4.4.0
...
chore: bump release version to 4.4.0
2021-11-09 09:22:12 +08:00
Zaiming Shi
9ea5c5e58d
fix(emqx_mgmt): support v4.4 data export
2021-11-08 23:12:18 +01:00
Zaiming Shi
fec83590a6
chore: bump release version to 4.4.0
2021-11-08 21:38:18 +01:00
Zaiming (Stone) Shi
70bc5f21e4
Merge pull request #6095 from zmstone/sync-v4.3-to-v4.4
...
Sync v4.3 to v4.4
2021-11-08 21:07:10 +01: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
14474a2739
Merge pull request #6056 from emqx/feat-truly-connected-client-count
...
Track connected client count
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.
The new statistics can be found in the [`emqx_management`](https://github.com/emqx/emqx/tree/main-v4.4/apps/emqx_management ) plugin, under `/api/v4/stats`, in the keys `live_connections.{max,count}`.
2021-11-08 15:46:49 -03: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
Zaiming (Stone) Shi
6b06142562
Merge pull request #6077 from zmstone/sync-exproto-code
...
Sync exproto code from ee to ce
2021-11-08 16:43:01 +01:00
Zaiming Shi
83ecdb242f
fix(appup): delete module load from app restart instruction group
2021-11-08 16:17:54 +01:00
Zaiming Shi
ed171b8e60
chore: ensure version bump for dashboard app
2021-11-08 16:17:54 +01:00
Zaiming Shi
4f3790a6f5
style: fix code style for emqx_exproto
2021-11-08 16:17:54 +01:00
Zaiming Shi
f1f2e51c99
fix: update appup
2021-11-08 16:17:54 +01:00
Zaiming Shi
412a68ac75
chore: bump version for emqx_proto
2021-11-08 16:17:54 +01:00
Zaiming Shi
325c5e5a97
chore: sync ce code added only to ee back to ce
2021-11-08 16:17:54 +01:00
Zaiming (Stone) Shi
1e47dbf14b
Merge pull request #6089 from k32/emqx-4-bump-version
...
chore(emqx): Update version and appup file
2021-11-08 16:17:16 +01:00
Zaiming (Stone) Shi
e33c0a3b09
Merge pull request #6087 from emqx/patch-v4.3.9
...
fix(bin/emqx): ensure NAME is set
2021-11-08 16:13:07 +01:00
k32
7d07e8d948
chore(emqx): Update version and appup file
2021-11-08 14:24:37 +01:00
k32
4ebb65e5d5
Merge pull request #6065 from k32/remove-nosuspend
...
fix(emqx_connection): Introduce backpressure while sending data
2021-11-08 13:39:01 +01:00
Zaiming Shi
f5a2421fdb
fix(bin/emqx): ensure NAME is set
2021-11-08 13:27:38 +01:00
tigercl
26bc3ca0b4
Merge pull request #6063 from HJianBo/refactor-stomp-gw
...
fix(stomp): fix bad_return_value
2021-11-05 09:31:45 +08:00
Zaiming (Stone) Shi
5f4c6a23ab
Merge pull request #6069 from zmstone/v4-build-reenable-elvis-check
...
build: fix elvis check and ensure newline at EOF
2021-11-04 21:50:20 +01:00
Zaiming Shi
37edb03866
build: fix elvis check and ensure newline at EOF
2021-11-04 21:07:45 +01:00
k32
27afecb3ac
fix(emqx_connection): Introduce backpressure while sending data
...
Fixes #5494
2021-11-04 15:25:34 +01:00
tigercl
4c4993fa25
Merge pull request #6062 from terry-xiaoyu/fix_mc_hungs
...
fix(ekka): add timeout to rpc:multicall/4
2021-11-04 21:59:09 +08:00
JianBo He
ef9fe12825
fix(stomp): fix bad_return_value
2021-11-04 21:35:16 +08:00
Shawn
a406c4f470
fix(ekka): add timeout to rpc:multicall/4
2021-11-04 16:30:46 +08:00
zhanghongtong
d7aec58370
ci(relup): fix old vsn error
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-11-04 11:54:06 +08:00
tigercl
e79085c259
Merge pull request #6040 from HJianBo/refactor-stomp-gw
...
Refactor stomp gw
2021-11-04 10:22:21 +08:00
JianBo He
f36abc281a
chore(types): add comment for ver type
2021-11-04 09:11:02 +08:00
JianBo He
981f74d458
test(stomp): refine stomp test cases
2021-11-03 21:13:38 +08:00
JianBo He
e4e8590a77
fix(stomp): backoff outgoung hear-beat timer interval
2021-11-03 20:37:07 +08:00
lafirest
4b2586fec4
Merge pull request #6048 from lafirest/feat/slow_topics
...
feat: add slow topics statistics plugin
2021-11-03 17:50:07 +08:00
lafirest
f8acb31f89
feat: add slow topics statistics plugin
2021-11-03 17:20:07 +08:00
tigercl
8dfafc464e
Merge pull request #6049 from tigercl/chore/webhook-version
...
chore(version): skip the version occupied by enterprise
2021-11-03 16:09:46 +08:00
xiangfangyang-tech
cee9b39b2d
Merge pull request #6050 from xiangfangyang-tech/improve_autotest_script
...
Improve autotest script
2021-11-03 16:00:53 +08:00
xiangfangyang-tech
9faab7cc9b
chore(autotest): improve git_action script with emqx-fvt tag
2021-11-03 16:00:02 +08:00
xiangfangyang-tech
8fb9d27aa1
Merge pull request #1 from emqx/main-v4.3
...
Main v4.3
2021-11-03 15:34:08 +08:00
Zaiming Shi
aa90177302
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2021-11-03 08:28:14 +01:00
zhouzb
e5f30a4d28
chore(version): skip the version occupied by enterprise
2021-11-03 15:26:04 +08:00
JianBo He
f7760232e4
fix(stomp): parse heartbeat EOL frame
2021-11-03 14:01:05 +08:00
JianBo He
af7b5704ab
fix(stomp): counting packets and messages
2021-11-03 14:01:05 +08:00
Zaiming (Stone) Shi
818bde1820
Merge pull request #6044 from zmstone/use-profile-name-as-default-docker-image-tag
...
Use profile name as default docker image tag
2021-11-03 06:21:34 +01:00
JianBo He
0a7f04caa3
fix(stomp): enrich sub-opts if sub-id/ack absent
2021-11-03 09:19:19 +08:00
Zaiming Shi
2fb8ffa8c2
test: add git credentials for enterprise tests
2021-11-02 23:12:30 +01:00
Zaiming Shi
c6c9ba400e
test: parameterise emqx image name in automated integration tests
2021-11-02 22:54:52 +01:00
Zaiming Shi
42695a2f9a
chore: remove external contributors as maintainers
...
Big thank you to Raymond M Mouthaan and Huang Rui
2021-11-02 18:25:25 +01:00
Zaiming Shi
1d0c8a4eef
fix: use of default profile name as default docker image name
2021-11-02 18:25:25 +01:00
JianBo He
14515e680e
fix(stomp): fix stats_timer not working
2021-11-02 21:37:22 +08:00
Turtle
f00e254bdf
chore(release): update version to 4.3.9
2021-11-02 18:26:57 +08:00
JianBo He
2c4d3d1d24
chore(stomp): fix dialyzer warnings
2021-11-02 17:09:57 +08:00
JianBo He
cc6ea6e4dd
chore(stomp): remove needless properties
2021-11-02 13:56:31 +08:00
JianBo He
fa2e97b1c5
chore(stomp): update appup.src
2021-11-02 13:48:03 +08:00
JianBo He
7734d6969c
fix(stomp): support pub/sub operations
2021-11-02 13:31:27 +08:00
JianBo He
d2924e82ab
fix(stomp): fix kick/discard crash errors
2021-11-02 13:31:27 +08:00
JianBo He
ed505ee120
refactor(stomp): compatible hooks system
2021-11-02 13:31:27 +08:00
JianBo He
d2b6a95484
fix(stomp): fix anonymous not working
2021-11-02 13:31:27 +08:00
zhouzb
3d9054d25e
fix(typo): fix typo in webhook resource
2021-11-02 13:28:46 +08:00
Shawn
0ab1b7c95d
fix(mongo): update mongodb to 3.0.10
2021-11-02 09:23:07 +08:00
Zaiming (Stone) Shi
2a3d1fcb78
Merge pull request #6023 from xiangfangyang-tech/main-v4.3
...
chore(autotest): add mysql&pgsql&http test flow in git_action flow
2021-11-01 16:24:20 +01:00
Zaiming (Stone) Shi
fa92e61440
Merge pull request #6031 from HJianBo/ignore-duplicated-sock-error
...
Ignore log duplicated sock error
2021-11-01 14:36:14 +01: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 (Stone) Shi
8526032200
Merge pull request #6012 from Rory-Z/chore/change-ci-helper-version
...
ci: change emqx-ci-helper version for build workflows
2021-11-01 10:18:49 +01:00
xiangfangyang-tech
d28f913b94
chore(autotest): update redis ssl cert file
2021-11-01 16:34:37 +08:00
Zaiming (Stone) Shi
3175d59e7b
Merge pull request #6033 from zmstone/fix-find-missing-dyn-lib-before-boot
...
best-effort portable for zip packages
2021-11-01 08:08:26 +01:00
Zaiming Shi
9832a2ed00
build: show linux distro in BUILT_ON info
2021-10-31 17:21:47 +01:00
Zaiming Shi
ecb6c1c59e
build: copy dynamic libs for zip package
2021-10-31 17:21:26 +01:00
Zaiming (Stone) Shi
831f2eda0c
Merge pull request #6030 from zmstone/fix-force-kill-after-kick-or-discard-timeout
...
fix(session): force kill session for 'kick' and 'discard'
2021-10-31 09:48:04 +01:00
Zaiming Shi
fb62487801
fix(emqx/appup): add emqx_cm to appup
2021-10-30 16:39:04 +02:00
Zaiming Shi
765a76fa80
fix(emqx_mgmt_cli): idempontent kick. now it always returns ok
2021-10-30 16:38:36 +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
k32
cfe3efed4a
Merge pull request #6024 from k32/4-4-fix-gen-rpc
...
fix(emqx_broker): Preserve message order across the cluster
2021-10-29 12:49:25 +02:00
k32
791caba2ed
fix(broker): Fix out-of-order message delivery in a cluster
...
Fixes : #4658
2021-10-29 10:47:56 +02:00
xiangfangyang-tech
2ce592040e
Merge branch 'main-v4.3' into main-v4.3
2021-10-29 15:12:22 +08:00
xiangfangyang-tech
afd6fe181c
chore(autotest): add git action script for v4.3
...
chore(autotest): change git site of autemate script
chore(autotest): improve git action script with Stones advises
chore(autotest): improve trigger condition
chore(autotest): add mysql&pgsql&http test flow in git_action script
2021-10-29 15:00:42 +08:00
Zaiming (Stone) Shi
b50f0b67d4
Merge pull request #6021 from zmstone/fix-boot-handle-vmarg-flags
...
fix: boot handle vmarg flags
2021-10-29 08:32:43 +02:00
Zaiming Shi
cb3d2fd6c3
chore: refine -heart option document
2021-10-28 21:15:54 +02:00
Zaiming Shi
18fc82855b
fix(bin/emqx): handle flags in vm.args
...
prior to this fix, the flags such as -heart in vm.args file were taken
as KEY="", VALUE="-heart"
as a result, the sed replacement replaces all lines with "-heart"
causing beam to crash at boot
2021-10-28 21:09:06 +02:00
Zaiming (Stone) Shi
dd4e307753
Merge pull request #5995 from Spycsh/main-v4.3
...
chore: add cluster script for local machine
2021-10-28 14:20:07 +02:00
Spycsh
ec30fb346a
chore: add cluster script for local machine
2021-10-28 12:07:23 +08:00
zhanghongtong
ba3e7841e5
ci: change emqx-ci-helper version for build workflows
2021-10-27 17:21:17 +08:00
Ilya Averyanov
49c7eae211
Merge pull request #5885 from savonarola/fix-acl-schema
...
fix(mnesia_acl): introduce optimized schema and migration process
2021-10-27 10:41:05 +03:00
Ilya Averyanov
6d48bbf34c
fix(mnesia_acl): added acl migration test scripts
2021-10-27 09:58:21 +03:00
Ilya Averyanov
ba319e1159
fix(mnesia_acl): upgrade snabbkaffe and use ?check_trace
2021-10-27 09:58:21 +03:00
Ilya Averyanov
43ac315444
fix(mnesia_acl): do not use matchspec terms in external APIs
2021-10-27 09:58:21 +03:00
Ilya Averyanov
8341a4d4a7
fix(mnesia_acl): introduce optimized schema and migration process
2021-10-27 09:58:12 +03:00
JianBo He
b4c2643291
fix(api-clients): escape the searching string
2021-10-26 10:34:31 +08:00
xiangfangyang-tech
67b543f01e
chore(autotest): improve trigger condition
2021-10-25 15:19:05 +08:00
xiangfangyang-tech
3e1abbddd2
chore(autotest): improve git action script with Stones advises
2021-10-25 15:19:05 +08:00
xiangfangyang-tech
48d932af83
chore(autotest): change git site of autemate script
2021-10-25 15:19:05 +08:00
xiangfangyang-tech
a198158bfb
chore(autotest): add git action script for v4.3
2021-10-25 15:19:05 +08:00
JianBo He
99453df637
fix(api-clients): escape the searching string
2021-10-25 09:40:56 +08:00
Zaiming (Stone) Shi
fd34eb1f4e
Merge pull request #5970 from zmstone/fix-lwm2m-psk-ciphers
...
fix(lwm2m): add support for new cipher suites
2021-10-21 16:56:28 +02:00
Zaiming Shi
224cc0d5c7
fix(lwm2m): bump version in appup and add upgrade instructions
2021-10-21 14:31:59 +02:00
Zaiming Shi
4896c03881
fix(lwm2m): add support for new cipher suites
...
prior to this change, the schema does not allow newer
cipher suites, and the default ciperhs given in the conf file
is likely not supported by some clients (which only supports dtls v1.2)
2021-10-20 23:10:46 +02:00
Zaiming (Stone) Shi
d2f4c55fd7
Merge pull request #5940 from savonarola/mqtt-http-api-validations-fix
...
fix(mgmt api): allow empty clientid in publish
2021-10-18 12:12:39 +02:00
Ilya Averyanov
3cae4437fa
fix(mgmt api): allow empty clientid in publish
2021-10-18 12:10:21 +03:00
Zaiming (Stone) Shi
1984e5b68c
Merge pull request #5927 from zmstone/fix-relup-test-env-overrides
...
test(relup): fix env overrides
2021-10-16 06:38:52 +02:00
Zaiming (Stone) Shi
51d2fa1359
Merge pull request #5932 from zmstone/chore-scripts-skip-appup-file-app-vsn-check
...
chore: skip appup file in vsn check script
2021-10-15 12:59:18 +02:00
Zaiming Shi
08c2907d44
chore: skip appup file in vsn check script
2021-10-15 12:10:37 +02:00
Zaiming Shi
9038da0bd2
fix(ws_connection): check origin failure should return 403 not 500
2021-10-15 15:49:26 +08:00
Zaiming Shi
51bc9c83c3
fix: ignore unused var
2021-10-15 15:49:26 +08:00
Zaiming Shi
f7d70d05ab
chore: pin otp version for 4.3
2021-10-15 15:49:26 +08:00
k32
44d666f62b
Merge pull request #5923 from k32/update-appup-binary
...
feat(update_appup): Support binary releases (.zip)
2021-10-14 17:14:11 +02:00
Zaiming Shi
d2649eea81
test(relup): fix env overrides
...
these are for 5.0
2021-10-14 15:53:44 +02:00
k32
14aaa4affe
fix(update_appup): Fix dependency check
2021-10-14 14:18:09 +02:00
k32
cb5db8059b
fix(update_appup): Use a different syntax for substitution
2021-10-14 13:47:04 +02:00
k32
703f52cec7
feat(update_appup): Support binary releases (.zip)
2021-10-13 17:25:29 +02:00
k32
4b098ce3af
Merge pull request #5907 from k32/mechanical-appup-update
...
chore(appup): Update appup scripts
2021-10-13 09:44:10 +02:00
k32
7e1f3c5882
revert(appup): Revert changes to management and dashboard
2021-10-13 09:19:49 +02:00
k32
b60e33ca41
fix(appup): Always run appup actions for management and dashboard
2021-10-12 19:19:26 +02:00
k32
4643415b0b
chore(appup): Update appup scripts
2021-10-12 17:45:10 +02:00
Ilya Averyanov
6dca349435
Merge pull request #5878 from savonarola/fix-emqx-rpc
...
fix(emqx_rpc): removed unnecessary call wrapper
2021-10-12 11:18:30 +03:00
Ilya Averyanov
85723e4a35
fix(emqx_rpc): removed unnecessary call wrapper
2021-10-11 15:20:31 +03:00
zhanghongtong
75fac32c12
docs(docker): fix invalid links
2021-10-09 09:16:45 +08:00
k32
5ca28749ed
Merge pull request #5886 from k32/dev/bump-ekka-4.3
...
chore(ekka): Bump version
2021-10-08 13:15:02 +02:00
k32
b88674e876
chore(ekka): Bump version to 0.8.1.3
...
Fixes : #5367
2021-10-07 19:33:25 +02:00
Zaiming (Stone) Shi
58b5d3709d
Merge pull request #5882 from zmstone/fix-flaky-tests-cm-session-race-condition-4.3
...
chore: fix flaky test cm_SUITE open session racecondition
2021-10-07 17:26:24 +02:00
k32
230af7990d
Merge pull request #5868 from k32/appup-script-beams
...
feat(update_appup): Compare beam files
2021-10-07 17:00:02 +02:00
Zaiming Shi
7c1ce8bc70
chore: fix flaky test cm_SUITE open session racecondition
2021-10-07 11:53:53 +02:00
k32
668bcad4e0
fix(update_appup): Add forgotten CLI parameter
2021-10-07 09:59:32 +02:00
k32
20ee42be87
chore(update-appup): s/Pred/Prev/g
2021-10-06 23:45:52 +02:00
k32
29ad2c04da
fix: Use application version instead of the release version
2021-10-06 23:45:52 +02:00
k32
ecf4d196eb
feat(update_appup): Return error when missing appup.src
2021-10-06 23:45:52 +02:00
k32
89fbf5fea2
feat(update_appup): Add a warning message
2021-10-06 23:45:52 +02:00
k32
ca77749281
feat(update_appup): Add a full description of the algorithm
2021-10-06 23:45:52 +02:00
k32
6bee6279f8
feat(update_appup): Make the script more generic
2021-10-06 23:45:52 +02:00
k32
c50c72b18e
fix(update_appup): Fix downgrade module loading
2021-10-06 23:45:52 +02:00
k32
f793883e35
refactor(update_appup): Minor code cleanup
2021-10-06 23:45:52 +02:00
k32
aca6367561
feat(update_appup): Create stubs
2021-10-06 23:45:52 +02:00
k32
4020db8fc1
feat(update_appup): Compare beam files
2021-10-06 23:45:52 +02:00
Zaiming (Stone) Shi
c8dda45c55
Merge pull request #5879 from zmstone/chore-always-force-dashboard-vsn-bump
...
chore: force appup for emqx_dashboard app in each release
2021-10-06 22:55:58 +02:00
Zaiming Shi
1d9f5ea133
chore: force appup for emqx_dashboard app in each release
2021-10-06 22:19:05 +02:00
Zaiming (Stone) Shi
0120f8cf45
Merge pull request #5877 from zmstone/test-fix-flaky-test-case-in-broker-suite
...
test(emqx_broker): fix flaky tests
2021-10-06 15:22:52 +02:00
Zaiming Shi
e012e77ce6
chore(ci): do not colorize JSON in jq output
2021-10-06 14:53:54 +02:00
Zaiming Shi
e1a2dc9138
fix(ci): lux report verbose progress
2021-10-06 14:14:21 +02:00
Zaiming Shi
3fa442f4a4
test(emqx_broker): fix flaky tests
2021-10-05 20:55:36 +02:00
Zaiming (Stone) Shi
feef02b639
Merge pull request #5874 from zmstone/fix-emqx-app-vsn
...
chore(emqx.app): bump emqx app to vsn 4.3.10
2021-10-05 14:34:20 +02:00
Ilya Averyanov
da2c41702d
Merge pull request #5848 from savonarola/mqtt-http-api-validations
...
Add validations to management API
2021-10-05 14:26:38 +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
Ilya Averyanov
44d16a26ab
fix(mgmt api): validate clientid to avoid crashes and 500 HTTP errors
2021-10-05 12:09:03 +03:00
Ilya Averyanov
42339b2e35
Merge pull request #5869 from savonarola/refactor-relup-tests
...
chore(relup tests): refactored relup tests
2021-10-05 12:07:49 +03:00
Ilya Averyanov
ebbf567fff
chore(relup tests): refactored relup tests
2021-10-04 21:47:51 +03:00
Zaiming (Stone) Shi
ec89781cc4
Merge pull request #5849 from savonarola/dashboard-login-security
...
fix(dashboard rest api): improve auth method security
2021-09-30 07:29:38 +02:00
Ilya Averyanov
40850d981d
chore(CI): increased relup test timeout
2021-09-29 23:29:40 +03:00
Ilya Averyanov
188b889ed3
fix(dashboard rest api): improve auth method security
...
Make messages not differ when authenticating with invalid password and invalid username.
Closes : #5563
2021-09-29 19:33:45 +03:00
Zaiming (Stone) Shi
004160af56
Merge pull request #5826 from JimMoen/fix-frame
...
fix(frame): variable byte integer could be larger than 4 bytes.
2021-09-28 19:06:54 +02:00
JimMoen
2dba91d6d0
chore(test): variable integer test.
2021-09-28 15:15:05 +08:00
JimMoen
19031e21ec
fix(frame): variable byte integer could be larger than 4 bytes.
2021-09-28 15:15:05 +08:00
Zaiming (Stone) Shi
d59d3849e0
Merge pull request #5794 from zmstone/fix-flaky-test-bridge-worker
...
test(mqtt-bridge): increase timeout in snk event wait
2021-09-23 16:58:47 +02:00
Zaiming Shi
92a3d683cf
test(mqtt-bridge): increase timeout in snk event wait
2021-09-23 13:34:27 +02:00
Zaiming (Stone) Shi
55d4dfde44
Merge pull request #5758 from m-yosefpor/main-v4.3
...
Backporting https://github.com/emqx/emqx/pull/5471 to main-v4.3
2021-09-16 21:36:50 +02:00
Mohammad Yosefpor
1ae3f8c204
fix: Running on Openshift clusters with restricted writable filesystem containers
2021-09-16 18:57:44 +04:30
Parham Alvani
9d993e1625
chore(auth-http): Disable Superuser Request by Defualt
2021-09-15 08:48:52 +08:00
Turtle
9f843d618d
fix(rule): fix rpc timeout extend the RPC timeout interval
2021-09-15 08:19:22 +08:00
Zaiming (Stone) Shi
80421651d7
Merge pull request #5739 from zmstone/fix-pin-rebar_mix-plugin-version-0.4.0
...
chore(build): pin rebar_mix plugin version v0.4.0
2021-09-14 18:53:28 +02:00
Zaiming Shi
d777ca7baf
chore(build): pin rebar_mix plugin version v0.4.0
2021-09-14 16:31:38 +02:00
Turtle
3ad0678892
fix(rule): fix edit rule fail in the cluster
2021-09-14 14:54:24 +08:00
tigercl
4664b85968
Merge pull request #5696 from tigercl/fix/sni
...
fix(sni): fix bad type of sni
2021-09-09 17:04:17 +08:00
zhouzb
ff2d73ad3b
chore(upgrade): update upgrade script
2021-09-09 10:29:58 +08:00
zhouzb
1a694814e0
fix(sni): fix bad type of sni
2021-09-09 10:18:40 +08:00
zhanghongtong
f92ff4494b
fix(auth mnesia api): parsing the http body parameter does not require url decode
2021-09-09 09:42:03 +08:00
k32
1a291d5d97
Merge pull request #5666 from k32/pqueue
...
feat(mqueue): Interleave messages with different priorities
2021-09-07 16:14:24 +02: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
zhanghongtong
aaa7cd0a44
chore(release): update emqx release version
2021-09-06 10:55:02 +08:00
zhanghongtong
eeb44086c8
fix(issue): 5565
2021-09-06 10:49:20 +08:00
zhouzb
a27b75b98e
chore(ehttpc): update tag for ehttpc
2021-09-06 10:41:24 +08:00
William Yang
eb88a0b7b6
Merge pull request #5646 from qzhuyan/backport/william/issue/5254
...
Backport: fix(helm-chart): force headless svc ready while pod is not ready
2021-09-03 13:18:05 +02:00
William Yang
e78967cfc3
fix(helm-chart): force headless svc ready while pod is not ready
...
fixs: #5254
The dist port behind headless svc should to be accessible during emqx
cluster boot.
Endpoints of headless SVC is not in 'ready' state that prevents nodes to talk to
each other, this issue only happens when K8s host node is restarted and
all emqx nodes are deployed on the same host.
2021-09-03 10:10:10 +02:00
Shawn
fe343a0407
fix(ekka): kill the process if don't release lock
2021-09-03 10:50:12 +08:00
Turtle
e532fff4df
chore: Update dashboard version to 4.3.4
2021-08-27 16:28:01 +08:00
Turtle
7bcc67f95d
fix(relup): get broker metrics
2021-08-27 16:28:01 +08:00
turtleDeng
ea15aa3f9e
fix(data-import): fix import rule fail ( #5512 )
2021-08-18 09:55:04 +08:00
Turtle
6aa61ea78d
fix(test): Increase the delay time
2021-08-13 17:29:51 +08:00
JianBo He
a41e6604cf
chore(exproto): update appup.src
2021-08-13 17:21:31 +08:00
JianBo He
473e600b53
fix(exproto): fix badarg is_process_alive/1
2021-08-13 17:21:31 +08:00
Turtle
dffa81120c
chore: emqx_rule_engine:load_providers has been called in emqx_dashboard.appup.src
2021-08-13 12:35:56 +08:00
Turtle
f92cfa72d2
fix(webhook): fix the hot upgrade resulted in the loss of webhook messages
2021-08-13 11:05:55 +08: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
d2d42ed33e
fix(logger): change default value of log.max_depth to 100
...
The value 20 is too small to inspect some error messages, especially
when it contains stack traces.
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
391eb55324
chore: format error log
2021-08-12 19:35:51 +08:00
Turtle
a84b6b74bd
chore(relup): update appup file
2021-08-12 19:35:51 +08:00
Turtle
e0336e60da
fix(webhook-action): fix webhook action path type error
2021-08-12 19:35:51 +08:00
Parham Alvani
e5c4277109
fix: Correct Issues
2021-08-12 14:24:12 +08:00
Parham Alvani
45b9f682b2
feat: Expose Internal MQTT Service
2021-08-12 14:24:12 +08:00
William Yang
94712064b5
chore: bump to ekka 0.8.1.1
2021-08-12 11:04:14 +08:00
William Yang
f3bd1f1c3a
fix(helm-chart): make podManagementPolicy configurable
2021-08-12 11:04:14 +08:00
William Yang
ced8693043
fix(helm-chart): start/stop pods in parallel
2021-08-12 11:04:14 +08:00
JianBo He
66f69e7693
feat(exhook): make request_failed_action working
2021-08-12 10:40:24 +08:00
JianBo He
7ec8dc21a6
chore(appup): update appup.src & app.src
2021-08-12 10:40:24 +08:00
JianBo He
1e4ca14476
fix(exhook): set trap_exit flag
2021-08-12 10:40:24 +08:00
JianBo He
b3db4d0f7c
refactor(exhook): move all manager code into mngr module
2021-08-12 10:40:24 +08:00
JianBo He
22f7b0b8e5
refactor(exhook): add mechanism to reload the failure server
2021-08-12 10:40:24 +08:00
JianBo He
60e830fef7
chore(ex): update grpc to 0.6.3
2021-08-10 17:59:36 +08:00
JianBo He
f9a9d4a6f0
chore(exproto): update appup.src
2021-08-10 17:59:36 +08:00
JianBo He
5854bfab57
fix(exproto): retry the grpc request if the stream closed
2021-08-10 17:59:36 +08:00
zhanghongtong
bf0036bf81
chore(cts): execute cts every six hours
2021-08-10 15:09:32 +08:00
zhanghongtong
554879c9d7
chore(relup tests): upload emqx package to workflow artifact
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-09 13:27:00 +08:00
Shawn
c09cb64db6
fix(lwm2m): write incorrect integer to device ( #5425 )
...
* fix(test): add testcase for write integer values
* fix(lwm2m): write incorrect integer to device
* fix(emqx_lwm2m): refactor the code for getting bits len of a signed int
* chore(emqx_lwm2m): bump version for emqx_lwm2m to 4.3.3
2021-08-06 17:05:25 +08:00
Rory Z
ff96250b0b
chore(tests): fix conunt error
2021-08-06 15:31:32 +08:00
Turtle
992e094ce9
fix(relup): fix badfun after relup
2021-08-05 14:19:53 +08:00
Turtle
efa71d12fe
chore(minirest): Upgrade minirest version to 0.3.7
2021-08-05 14:19:53 +08:00
Turtle
de96349ddf
chore: Specify emqtt-bench version
2021-08-05 14:19:53 +08:00
zhanghongtong
5b671e5c4f
chore(CI): print log when deployment helm fail
2021-08-05 10:57:32 +08:00
zhanghongtong
ed53b859d9
feat(helm): add externalIPs to chart
2021-08-05 10:57:32 +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
tigercl
d4ce7f328d
Merge pull request #5395 from tigercl/chore/ehttpc
...
chore(ehttpc): update tag of ehttpc
2021-08-04 15:58:58 +08:00
Turtle
ac0639f6b1
fix(actions): fix republish actions payload is null
2021-08-04 14:39:19 +08:00
Turtle
ff4229bb93
fix(relup): fix check relup fail
2021-08-04 11:28:07 +08:00
Turtle
8fb9170df8
fix(rule-engine): fix rule status is not available after the emqx restart
2021-08-03 17:31:43 +08:00
zhouzb
46e58a50d0
chore(ehttpc): update tag of ehttpc
2021-08-03 17:27:35 +08:00
Turtle
35ae097038
fix(relup): upgrade emqx dashboard version
2021-08-03 12:17:35 +08:00
Turtle
a7d67eb862
fix(script): fix emqx-ee get dashboard src fail
2021-08-03 12:17:35 +08:00
Zaiming (Stone) Shi
253fa9167c
Merge pull request #5368 from zmstone/fix-boot-log
...
fix(bin/emqx): fix boot log
2021-07-31 08:50:47 +02:00
Turtle
36fa9f99be
test(relup): fix relup fail
2021-07-31 10:52:43 +08:00
zhouzb
65df4fd9ca
fix(http pipelining): fix http pipelining for webhook resource
2021-07-30 15:22:18 +08:00
Turtle
49a00c3412
chore(relup): update appup
2021-07-30 14:39:37 +08:00
William Yang
2479c2a80b
feat(ssl): mqtt bridge support ssl peer verification
2021-07-30 14:39:37 +08:00
zhanghongtong
07f58c0e9e
chore(release): update emqx release version
2021-07-28 16:45:54 +08:00
tigercl
4618eb985a
Merge pull request #5334 from tigercl/chore/dashboard
...
chore(dashboard): update version for dashboard
2021-07-28 16:43:06 +08:00
zhouzb
2bd12a9a3d
chore(dashboard): update version for dashboard
2021-07-28 14:31:24 +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
tigercl
fee3462603
fix(http pipelining): support to switch http pipelining ( #5279 )
2021-07-27 17:32:56 +08:00
zhanghongtong
a538979c3b
chore(CI): upload emqx log in relup check
2021-07-27 14:57:46 +08:00
zhanghongtong
8809d72ee5
chore(CI): check relup rule action success
2021-07-27 11:31:44 +08:00
zhanghongtong
a9a1c71eb4
chore(auth mnesia): hide the password in the api
2021-07-27 10:05:08 +08:00
Zaiming (Stone) Shi
b851a7ea7c
Merge pull request #5301 from zmstone/add-notice
...
chore: Add NOTICE file
2021-07-23 11:44:26 +02:00
Zaiming Shi
7103324426
chore: Add NOTICE file
2021-07-23 10:55:03 +02:00
zhanghongtong
f6138e8971
chore(relup tests): check rules matched
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-22 15:28:04 +08:00
JianBo He
b1d190fd3b
fix(exproto): fix peername for udp socket
2021-07-21 17:33:21 +08:00
JianBo He
fbaf2646f9
chore(exproto): update appup.src
2021-07-21 17:33:21 +08:00
JianBo He
31cbd66f61
fix(exproto): get peername after esockd_wait/1
2021-07-21 17:33:21 +08:00
JianBo He
c878c73395
fix(exproto): fix bad socket type
...
* fix(exproto): fix bad socket type
* chore(exproto): update appup.src
2021-07-20 11:04:00 +08:00
zhanghongtong
5bc33b9b5b
chore(CI): add time sleep for relup test
2021-07-16 20:18:33 +08:00
Turtle
befd22282f
chore(relup): fix check relup fail
2021-07-16 19:01:05 +08:00
Turtle
5edb5351b0
chore(relup): update emqx appup
2021-07-16 19:01:05 +08:00
zhanghongtong
2b1249ba9c
fix(auth mnesia): fix add password error by api
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-16 17:40:51 +08:00
Turtle
8b4b9a119b
chore: bind_as_user set default value
2021-07-14 14:14:09 +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
JianBo He
d3d636fc99
chore(mgmt): update appup.src
2021-07-13 17:53:26 +08:00
JianBo He
8cd1fa41b6
fix(mgmt): fix dump aborted by print function crash
2021-07-13 17:53:26 +08:00
zhanghongtong
750cb2d491
chore(CI): update emqx-ci-helper tag
2021-07-09 19:37:45 +08:00
Zaiming Shi
780e403262
fix(conf): change wss.external.max_connections from 16 to 102400
2021-07-09 09:30:57 +08:00
JianBo He
05b16c601b
chore(presence): more fields for disconnected event
2021-07-07 18:36:09 +08:00
JianBo He
8935d28ed4
fix(exhook): catch the badarg error
2021-07-01 17:56:10 +08:00
zhanghongtong
0c66fcef00
chore(release): update emqx release version
2021-06-28 11:14:33 +08:00
tigercl
637cd5e804
Merge pull request #5105 from terry-xiaoyu/clean_emqx_shared_subscription2
...
fix(shared_sub): discard all unexpected msgs
2021-06-28 11:07:10 +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
zhanghongtong
a8aabd5f74
revert: chore(CI): update events that trigger workflows
...
This reverts commit 002cbb6d8b
2021-06-25 20:13:35 +08:00
zhanghongtong
002cbb6d8b
chore(CI): update events that trigger workflows
2021-06-24 17:44:30 +08:00
zhanghongtong
e87838f272
docs(docker): fix env name error
2021-06-24 14:46:34 +08:00
zhanghongtong
f18b9a92bc
chore(CI): delete needless link when build packages
2021-06-23 21:38:30 +08:00
Zaiming Shi
49a78c8ef2
fix(script): exclude non-edge apps in relup dependency
2021-06-23 21:30:59 +08:00
zhanghongtong
8ad42cb827
chore(CI): add DIAGNOSTIC=1 when build windows
2021-06-23 20:27:08 +08:00
Zaiming Shi
f17962e79a
chore: add more info in error message
2021-06-23 19:40:12 +08:00
Turtle
98c4fff43f
chore: fix inject deps notfound emqx_reloader
2021-06-23 19:03:06 +08:00
zhanghongtong
bfc6c3aa42
chore(release): update emqx release version
2021-06-23 17:52:42 +08:00
Turtle
1a438125c7
chore(review): review 4.3.4
2021-06-23 17:51:17 +08:00
Turtle
2092bedb12
feat(lwm2m): fix check dialyzer fail
2021-06-23 17:08:44 +08:00
Turtle
a6bd1c90d5
fix: Ignore repeatedly receiving connection packet in the wait_will_msg/wait_will_topic/connected state
2021-06-23 14:37:26 +08:00
JianBo He
3ddbdbc6c1
fix(emqx_cm): catch noproc exception from rpc_call ( #5048 )
2021-06-23 09:45:24 +08:00
zhanghongtong
2c0916ff05
chore(CI): upload rebar3.crashdump file when slim build failure
2021-06-23 09:44:58 +08:00
JianBo He
77a41ea88f
Fix coap uri format ( #5059 )
2021-06-23 08:50:20 +08:00
Zaiming Shi
b92940af29
test(ci): add plugin list status check after relup new vsn install
2021-06-22 08:54:55 +08:00
Zaiming Shi
bed45417dc
chore(relup): add relup dependency injection
2021-06-22 08:54:55 +08:00
JianBo He
8110ef7a64
chore: upgrade lwm2m_coap to 1.1.4
2021-06-21 12:21:25 +08:00
Turtle
ecec9bd2f6
feat(lwm2m): add emqx_lwm2m http API
2021-06-21 12:19:35 +08:00
Shawn
6724e59e7a
fix(appup): relup for emqx_rule_registry failed
2021-06-21 12:18:39 +08:00
Shawn
5962c9c83c
feat(rules): remove stats update from rule_engine_registry ( #5029 )
2021-06-19 17:02:43 +08:00
Shawn
c0367fb8dd
Delete resource failed when searching dependent rules ( #4996 )
2021-06-17 16:45:44 +08:00
tigercl
0ecaa80fb8
fix(query string): support query string in path ( #4981 )
2021-06-17 16:12:08 +08:00
JianBo He
bdd9154001
fix(modules): fix start/stop exhook module failure
2021-06-16 14:40:57 +08:00
JianBo He
bbed1b55e0
fix(ws): avoid funcation_clause for un-inited websocket
2021-06-15 11:27:47 +08:00
k32
074c0bd2cc
fix(auth_ldap): Handle missing attributes
...
Fixes : #4953
2021-06-11 18:35:21 +08:00
Zaiming (Stone) Shi
69ef5cbdc3
Merge pull request #4979 from zmstone/chore-config-rpc-connections-default-to-one
...
chore(conf): change default number of gen_rpc connections to 1
2021-06-11 09:58:50 +02:00
JianBo He
42a6f2aba5
fix(mqttsn): fix proto_name to MQTT-SN instead of MQTT ( #4961 )
2021-06-11 11:08:24 +08:00
Shawn
0184a1b3e8
fix(minirest): encode response message failed ( #4965 )
2021-06-11 09:56:11 +08:00
JianBo He
86766ee7f1
fix(lwm2m): base64 decode for opaque value
2021-06-11 09:48:57 +08:00
Turtle
8eebdd5cdb
chore: remove lager schema info
2021-06-11 09:48:25 +08:00
Zaiming Shi
1f57968c9b
chore(conf): change default number of gen_rpc connections to 1
2021-06-10 19:59:10 +02:00