Commit Graph

8261 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi fd7a8064f4 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-10-19 19:25:43 +02:00
Zaiming (Stone) Shi 6bedc72bd2
Merge pull request #9180 from zmstone/1019-no-shared-message-redispatch-for-takeover
fix(shared): do not redispatch shared messages for certain shutdown
2022-10-19 19:24:38 +02:00
Zaiming (Stone) Shi a163ffce7c test: assert message receive pid is in the expected pids list 2022-10-19 18:16:38 +02:00
Zaiming (Stone) Shi 73a5462cba fix(shared): do not redispatch shared messages for certain shutdown
For takeover, there should be no message re-dispatch because
the messages will be retried by the new session.

For kick, messages should not be re-dispatched for security reason.
i.e. if admin has identified that there are malicious messages
stored in persisted sessions, killing the session should not
cause messages to be re-dispatched
2022-10-19 17:21:56 +02:00
Zaiming (Stone) Shi 86da0f548e docs: refine v43 changelogs 2022-10-15 14:57:31 +02:00
Zaiming (Stone) Shi 81b1ea8c55 docs: refine change log text 2022-10-14 21:23:14 +02:00
Zaiming (Stone) Shi 1c5ff35225 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-10-14 15:46:53 +02:00
Zaiming (Stone) Shi 882e13b2a2 chore: change release version to 4.3.21 2022-10-14 15:45:11 +02:00
Zaiming (Stone) Shi 62878e7851 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-10-14 12:10:22 +02:00
Xinyu Liu 265fab8ccf
Merge pull request #9150 from terry-xiaoyu/port_rule_metrics_fix_to_release_v43
fix: reset rule metrics crashed under certain conditions
2022-10-14 16:05:23 +08:00
Shawn 381c56d52f fix: reset rule metrics crashed under certain conditions 2022-10-14 10:50:39 +08:00
Zaiming (Stone) Shi 4db59b4204 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-10-12 21:15:48 +02:00
Zaiming (Stone) Shi 1d36a5c4bd
Merge pull request #9145 from zmstone/1012-upgrade-to-gun-1.3.8
fix: upgrade to gun 1.3.8
2022-10-12 20:54:06 +02:00
Zaiming (Stone) Shi 5bd66b1adf chore: bump to 4.3.21-alpha.3 2022-10-12 18:27:43 +02:00
Zaiming (Stone) Shi c2bc1c82e8 fix: upgrade to gun 1.3.8
fix ssl_pssive message handling
2022-10-12 18:27:09 +02:00
Zaiming (Stone) Shi 5fc34ec636 build: sync apps version check script 2022-10-12 14:42:56 +02:00
JianBo He e8eb0e11ac Merge tag 'v4.3.21-alpha.2' into release-v44 2022-10-12 19:33:39 +08:00
JianBo He d2c86c5eee chore: bump vsn 2022-10-12 19:17:39 +08:00
JianBo He 23643680e0
Merge pull request #9143 from zmstone/1012-fix-remsh-prefix-match-for-rpc-log-mute
fix: remsh prefix may not include an underscore
2022-10-12 19:14:18 +08:00
Zaiming (Stone) Shi e57ab9a8c1 fix: remsh prefix may not include an underscore 2022-10-12 12:42:37 +02:00
JianBo He 4f11f95c40
Merge pull request #9138 from HJianBo/update-dashboard-vsn-44
chore: update dashboard vsn
2022-10-12 14:21:31 +08:00
JianBo He 7aca9183b8
Merge pull request #9137 from HJianBo/update-dashboard-vsn
chore: update dashboard vsn
2022-10-12 14:21:13 +08:00
JianBo He efda32c945 chore: update dashboard vsn 2022-10-12 11:32:39 +08:00
JianBo He 7fe6bc6094 chore: update dashboard vsn 2022-10-12 11:28:44 +08:00
Zaiming (Stone) Shi 7d24c34db5 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-10-11 22:54:25 +02:00
Zaiming (Stone) Shi cfd1d7eea1 chore(bin/emqx): no need to disable SC2086 2022-10-11 17:41:47 +02:00
Zaiming (Stone) Shi 124f9795cd
Merge pull request #9091 from zmstone/1003-no-shutdown-logging-to-remote-node-when-rpc
fix(emqx): emqx:shutdown should not log to remote node
2022-10-11 08:12:28 +02: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
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
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
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
JianBo He e2b0048e88 refactor(flapping): count flapping event if connecting failed 2022-10-08 10:06:20 +08:00