Commit Graph

8900 Commits

Author SHA1 Message Date
JimMoen 5047211950 test: rulesql select fields and select from event message 2022-10-11 13:44:34 +08:00
JimMoen 27e19da066 test(rulesql): num funcs type cases 2022-10-11 13:44:34 +08:00
JimMoen 32376c7cf9 fix(rule_func): refine num funcs error info type unsupported 2022-10-11 11:23:25 +08:00
JimMoen 0a5a0867e4 fix(rule_func): refine `+` error info when type implicit conversion 2022-10-11 11:23:25 +08:00
JimMoen d8a022fb45 fix(test): unstopped test client 2022-10-11 11:23:25 +08:00
JimMoen 267946c379 fix: rm unused module
`emqx_rule_date` was added before [v4.3.15-rc1]
PR: emqx#7894
commit: 8558a62ee2

The change was released in [v4.3.15-rc1] [v4.3.15-rc2]

And unused at [v4.3.15-rc3]
PR: emqx#8044
commit: 4fc5cb2817

We just keep the module from [v4.3.15-rc1] to [v4.3.20] and remove this module in newer version
2022-10-11 11:23:25 +08:00
JimMoen fd7230353c refactor(test): move rule_engine sql test cases into a separate file 2022-10-11 11:23:25 +08:00
JianBo He 58dc0a8913
Merge pull request #9130 from HJianBo/merge-rel-v43-into-v44
Merge release-v43 into release-v44
2022-10-11 11:05:49 +08:00
JianBo He 85aa120b06 Merge branch 'release-v43' into release-v44 2022-10-11 10:24:22 +08:00
JianBo He a1affa94b5
Merge pull request #9045 from HJianBo/enhance-flapping-detect
refactor: enhance the flapping detect accuracy
2022-10-11 10:10:47 +08:00
JimMoen f51e2c7f95
Merge pull request #9124 from JimMoen/sub-acl-warning-log
Sub acl warning log
2022-10-11 10:04:26 +08:00
Thales Macedo Garitezi 341e96b479
Merge pull request #9126 from thalesmg/ci-stop-containers-43
ci(test): stop containers at the beginning of the run
2022-10-10 14:57:39 -03:00
Thales Macedo Garitezi e72e1567a1 ci(test): stop containers at the beginning of the run
An attempt to prevent updated container definitions clashing in CI GH
runners between different branches.

A self-hosted runner only runs a single job at a time.

If a container is already running there, an updated docker compose
file might fail to recreate that container, failing the run.
2022-10-10 14:12:25 -03:00
Zaiming (Stone) Shi edf69cee88 feat: mute emqx shutdown log in rpc calls 2022-10-10 17:57:33 +02:00
Xinyu Liu 9a2300e5b6
Merge pull request #9125 from emqx/cannot_reset_metrics_for_fallback_actions
Cannot reset metrics for fallback actions
2022-10-10 23:29:11 +08:00
Shawn 6d52f908d1 chore: update emqx_rule_engine.appup.src 2022-10-10 17:24:27 +08:00
Shawn 338b11ab95 fix: cannot reset metrics for fallback actions 2022-10-10 17:13:39 +08:00
JimMoen ef04310c27 chore: update CHANGES.md 2022-10-10 16:04:57 +08:00
JimMoen 48d8f7e7a9 fix(channel): add warning log if the acl check of a subscribed topic failed 2022-10-10 16:03:31 +08:00
Zaiming (Stone) Shi 373bd41170
Merge pull request #9122 from emqx/1009-fix-shared-sub-sticky-strategy-when-no-local-subs
1009 fix shared sub sticky strategy when no local subs
2022-10-10 08:55:23 +02:00
Zaiming (Stone) Shi 4989e57ebb
Merge pull request #9119 from emqx/1009-fix-sticky-dispatch-should-check-subscription-table
fix(shared): check sticky if sticky pid is still a member
2022-10-10 08:51:51 +02:00
JianBo He 3d61211ded
Merge pull request #9120 from HJianBo/improving-the-retry-mechnism-plugin
Refactor auth-http plugins to support getting retry_times params
2022-10-10 09:46:58 +08:00
JianBo He 2f178fa8f1
Merge branch 'release-v43' into enhance-flapping-detect 2022-10-10 09:40:49 +08:00
Zaiming (Stone) Shi 4f8a7349bf fix(shared): ensure sticky strategy sticks to the first pick
Prior to this fix, the alive pids are never inserted due to a
missing insert when handing remote pids from mnesia event.
2022-10-09 20:18:33 +02:00
Zaiming (Stone) Shi 7f9886e611 Merge remote-tracking branch 'origin/release-v43' into main-v4.3 2022-10-09 19:40:26 +02:00
JianBo He bc68f60bb5 chore: update appup.src 2022-10-09 17:52:59 +08:00
Zaiming (Stone) Shi 761283f616 docs: update change log 2022-10-09 11:49:11 +02:00
JianBo He 68dd29420d chore: fix duplicated variable name 2022-10-09 17:43:30 +08:00
Zaiming (Stone) Shi b2b05c0077 Merge remote-tracking branch 'origin/release-v43' into 1009-fix-sticky-dispatch-should-check-subscription-table 2022-10-09 11:43:14 +02:00
Zaiming (Stone) Shi 8e8ff08973 fix(shared): check sticky if sticky pid is still a member
Prior to this fix, in case of a subscriber unsubscribes without
disconnect, the sticky dispatch strategy will continue to pick the
old member.
This commit fixes it by checking if the member is still in the
group
2022-10-09 11:31:54 +02:00
JianBo He e5a673376f refactor: support the retry option 2022-10-09 17:27:38 +08:00
Zaiming (Stone) Shi cf5f1fd78c
Merge pull request #9094 from emqx/1004-fix-wildcard-redispatch-for-shared-subs
chore: fix shared subscription redispatch
2022-10-09 10:32:02 +02:00
Zaiming (Stone) Shi f4ae4e67c9 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-10-09 09:33:21 +02:00
Xinyu Liu 505507139e
Merge pull request #9079 from terry-xiaoyu/some_issues_in_rule_engine
Some issues in rule engine
2022-10-09 14:32:39 +08:00
lafirest 7fd760db2c
Merge pull request #9024 from lafirest/test/mqtt_sn
test(mqtt_sn): improve test coverage to 90%
2022-10-09 11:10:30 +08:00
JianBo He 92d5caf908
Merge branch 'main-v4.3' into test/mqtt_sn 2022-10-08 14:28:01 +08:00
Shawn 1bb7c23db1 fix: discard the 'id' field when testing a resource 2022-10-08 10:50:42 +08:00
JianBo He e2b0048e88 refactor(flapping): count flapping event if connecting failed 2022-10-08 10:06:20 +08:00
JianBo He 165842ded4 chore: update changes.md 2022-10-08 09:56:23 +08:00
DDDHuang 13f3dafe22 refactor: enhance the flapping detect accuracy
Count the `flapping` event as long as a client try to connect to server
whatever it suceed or failed. It is more helpful to improve
stablebility.
2022-10-08 09:56:23 +08:00
Ivan Dyachkov 120905403c
Merge pull request #9112 from emqx/chore-portable-script-output-coloring
chore: portable stdout coloring in scripts
2022-10-07 09:57:47 +02:00
Ivan Dyachkov 280668ce13 chore: portable stdout coloring in scripts
BSD's (macos) version of echo does not support -e flag
2022-10-06 11:43:45 +02:00
Zaiming (Stone) Shi fc291c8d5f
Merge pull request #9108 from zmstone/1006-support-additional-checks-before-release-tag
build: support additional checks before cutting a release tag
2022-10-06 11:13:24 +02:00
Zaiming (Stone) Shi 10f1052be5 Merge remote-tracking branch 'origin/release-v43' into main-v4.3 2022-10-06 10:31:01 +02:00
Zaiming (Stone) Shi 206ab125a4 build: support additional checks before cutting a release tag 2022-10-06 09:41:14 +02:00
Zaiming (Stone) Shi f667c174a8
Merge pull request #9092 from zmstone/1004-ensure-emqx_modules-modules-loaded
test: ensure module loaded for ct-slave node before starting apps
2022-10-06 08:29:59 +02:00
Zaiming (Stone) Shi eaeb26a1b4
Merge pull request #9102 from zmstone/1005-chore-sync-some-modules
chore: sync diverged modules modules from ee back to ce
2022-10-06 07:29:18 +02:00
Zaiming (Stone) Shi f24728ee7b chore: sync diverged modules modules from ee back to ce 2022-10-05 14:59:18 -03:00
Zaiming (Stone) Shi a1032db4e1 test: add test case to verify QoS 0 message is never redispatched 2022-10-05 18:07:43 +02:00
Zaiming (Stone) Shi 1270dbff24
Merge pull request #9097 from zmstone/1005-sync-v44-upstreams
1005 sync v44 upstreams
2022-10-05 16:49:19 +02:00