Commit Graph

8900 Commits

Author SHA1 Message Date
Thales Macedo Garitezi 823efbaed3 fix(gcp_pubsub): ensure jwt token is deleted after worker stops and always ensure refresh timer (v4.4)
https://emqx.atlassian.net/browse/EMQX-8652

Since the rule resource testing mechanism creates a new resource to
test the configuration, a new JWT associated with an unique temporary
resource was being created and left in the JWT table, leaking it.

Also, a wrong case clause when setting the new refresh timer for the
JWT worker was preventing it from refreshing from the 2nd refresh
onward.
2022-12-30 10:24:26 -03:00
Zaiming (Stone) Shi 18b18ade45 ci: fix bad merge conflict resolution 2022-12-30 14:01:05 +01:00
Thales Macedo Garitezi c092ac2ced
Merge pull request #9640 from thalesmg/fix-gcp-pubsub-refresh-leak-v44
fix(gcp_pubsub): ensure jwt token is deleted after worker stops and always ensure refresh timer (v4.4)
2022-12-30 09:44:21 -03:00
Thales Macedo Garitezi 93fc8ff1e5
docs: improve changelog
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-12-29 16:45:59 -03:00
Thales Macedo Garitezi abcc6263bb docs: update changelog 2022-12-29 13:08:10 -03:00
Thales Macedo Garitezi d345ccf4b8 chore: update appups 2022-12-29 11:45:45 -03:00
Thales Macedo Garitezi 7f8c5dcf01 fix(jwt_sup): delete the worker spec from the supervision tree 2022-12-29 11:33:07 -03:00
Thales Macedo Garitezi 56b1df1c7f fix(gcp_pubsub): ensure jwt token is deleted after worker stops and always ensure refresh timer (v4.4)
https://emqx.atlassian.net/browse/EMQX-8652

Since the rule resource testing mechanism creates a new resource to
test the configuration, a new JWT associated with an unique temporary
resource was being created and left in the JWT table, leaking it.

Also, a wrong case clause when setting the new refresh timer for the
JWT worker was preventing it from refreshing from the 2nd refresh
onward.
2022-12-29 11:33:06 -03:00
Zaiming (Stone) Shi 23c786b18a
Merge pull request #9639 from zmstone/1229-sync-release-v44-to-main-v4.4
1229 sync release v44 to main v4.4
2022-12-29 15:31:38 +01:00
Zaiming (Stone) Shi facc810941 chore: add emqx_cm to appup 2022-12-29 14:32:25 +01:00
Zaiming (Stone) Shi d8f900dd07 chore: add relup path 2022-12-29 13:51:50 +01:00
Zaiming (Stone) Shi 0419c9b17e chore: update appups 2022-12-29 12:09:06 +01:00
Zaiming (Stone) Shi ece2b7f6bc chore: bump emqx_dashboard app vsn to 4.4.12 2022-12-29 11:24:53 +01:00
Zaiming (Stone) Shi 4251948435 chore: bump emqx.app.src vsn to 4.4.13 2022-12-29 11:24:11 +01:00
Zaiming (Stone) Shi cf6bf2a2fe chore: prepare for v4.4.13-alpha.1 release 2022-12-29 11:22:38 +01:00
Zaiming (Stone) Shi 1f9b2a7e69 Merge remote-tracking branch 'origin/release-v44' into main-v4.4 2022-12-29 11:21:26 +01:00
Zaiming (Stone) Shi ba46be717b build: drop relup for edge edition
* the edge edition is completely dropped in v5
* typically reboot is acceptable for edge brokers
* we do not know how many users are using it
* we never really seriously tested relup for edge edition
* now there is an issue in relup which will fail edge edition
  not worth the investment to fix
2022-12-28 21:39:35 +01:00
Zaiming (Stone) Shi 275a3b47fd chore: bump version to v4.4.12 2022-12-28 18:31:08 +01:00
Zaiming (Stone) Shi 953a230abb
Merge pull request #9627 from emqx/1228-sync-changes-from-ee-to-ce
1228 sync changes from ee to ce
2022-12-28 18:29:05 +01:00
Zaiming (Stone) Shi ebc38b3b0e chore: sync emqx_channel from ee to ce 2022-12-28 16:11:15 +01:00
Zaiming (Stone) Shi 364fd8d4f3 docs: sync some changes from ee to ce 2022-12-28 14:41:06 +01:00
Zaiming (Stone) Shi 2662c52a88 chore: sync test/emqx_client_SUITE.erl from ee to ce 2022-12-28 14:37:23 +01:00
Zaiming (Stone) Shi 79f51e46a4 chore: sync emqx_cm from ee to ce 2022-12-28 14:30:42 +01:00
Zaiming (Stone) Shi 614d740f71 chore: sync changes in emqx_relup from ee to ce 2022-12-28 14:28:50 +01:00
Zaiming (Stone) Shi f033b1389e chore: pin snabbkaffe 1.0.3 2022-12-28 14:18:28 +01:00
Zaiming (Stone) Shi d1f2fb16ab chore: pin mongodb v3.0.17 2022-12-28 14:17:32 +01:00
JimMoen 1cd5f7c5bf
Merge pull request #9517 from JimMoen/1209-bump-mongo-vsn-v44
chroe: bump mongodb-erlang vsn
2022-12-28 13:52:21 +08:00
JimMoen b3708f49e4
chore: bump mongodb-erlang vsn 2022-12-27 19:05:48 +08:00
Thales Macedo Garitezi ea93033aff
Merge pull request #9611 from thalesmg/fix-upgrade-unpacked-v44
fix(upgrade): fix start script existence check (v4.4)
2022-12-26 09:13:24 -03:00
Xinyu Liu f557347871
Merge pull request #9613 from emqx/sometimes-alarm-resource-down-not-cleared-v44
chore: sometimes the alarm resource down cannot be cleared
2022-12-26 15:00:28 +08:00
Shawn f2bb0a364b chore: sometimes the alarm resource down cannot be cleared 2022-12-26 12:13:19 +08:00
Thales Macedo Garitezi 1d59e18cca fix(upgrade): fix start script existence check (v4.4) 2022-12-23 17:49:02 -03:00
Ivan Dyachkov af57b2c139
Merge pull request #9602 from emqx/ci-fix-self-hosted-macos-runners
ci fix self hosted macos runners
2022-12-22 17:09:31 +01:00
Ivan Dyachkov 6a10e84ecb chore: use unique name for temp macos keychain 2022-12-22 14:48:56 +01:00
Ivan Dyachkov d8590197bd ci: issue with linking unixodbc when building OTP on macos arm64 2022-12-22 14:46:56 +01:00
Zaiming (Stone) Shi 43e77391db
Merge pull request #9591 from zmstone/1221-sync-release-v44-to-main-v4.4
1221 sync release v44 to main v4.4
2022-12-22 13:49:00 +01:00
Zaiming (Stone) Shi 351b1ce1a1 test: restore boot_modules to all in all SUITEs which change it 2022-12-22 12:03:03 +01:00
Zaiming (Stone) Shi 2f23f2708e test: ensure all listeners started 2022-12-22 11:57:31 +01:00
Zaiming (Stone) Shi 44b9ad24fd Merge remote-tracking branch 'origin/release-v44' into 1221-sync-release-v44-to-main-v4.4 2022-12-22 11:53:03 +01:00
Zaiming (Stone) Shi 1af768f75a
Merge pull request #9598 from emqx/ci-stability-fixes-test-ci
ci stability fixes test ci
2022-12-22 11:51:14 +01:00
Ivan Dyachkov a2063a1445 ci: move mandatory inputs up 2022-12-22 11:06:55 +01:00
Ivan Dyachkov 9e0a130a89 ci: use our own fork of setup-beam 2022-12-22 10:48:48 +01:00
Ivan Dyachkov 1b27828e3e ci: make homebrew more conservative 2022-12-22 10:44:51 +01:00
Zaiming (Stone) Shi f7e4f45b6c Merge remote-tracking branch 'origin/release-v44' into 1221-sync-release-v44-to-main-v4.4 2022-12-22 10:23:19 +01:00
Zaiming (Stone) Shi 552cabe792
Merge pull request #9594 from id/ci-consistent-syntax-for-variables-in-if-statements
ci: use consistent syntax for variables in if statements
2022-12-22 10:20:13 +01:00
Ivan Dyachkov 8a393030cf docs: fix typo 2022-12-22 09:47:26 +01:00
Ivan Dyachkov 836892211e ci: use consistent syntax for variables in if statements 2022-12-22 09:44:45 +01:00
Zaiming (Stone) Shi 1421040ecf Merge remote-tracking branch 'origin/main-v4.4' into 1221-sync-release-v44-to-main-v4.4 2022-12-22 09:33:08 +01:00
Zaiming (Stone) Shi d855fb3734
Merge pull request #9592 from zmstone/1221-fix-io-format-error-when-rpc-from-remsh
1221 fix io format error when rpc from remsh
2022-12-22 09:28:56 +01:00
Zaiming (Stone) Shi d891197256 feat: add emqx_misc:safe_io_device/0 2022-12-21 19:59:34 +01:00