Commit Graph

18196 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi f6d347304b
Merge pull request #11562 from thalesmg/cluster-purge-r52-20230904
feat: cluster purge (r5.2)
2023-09-05 10:22:43 +02:00
Kjell Winblad fa9326f8ca docs: add changelog entry for gpb upgrade 2023-09-05 09:57:13 +02:00
Kjell Winblad 2b2e84b83c fix: update gpb library to fix type error
This fixes a bug in the protobuf schema registry functionality. Before
this fix one would get a badarith error if one tried to assign a float
value to an uint64 field. However, this commit fixes this by upgrading
gpb so we instead will get a gpb_type_error which is what we want.

Fixes:
https://emqx.atlassian.net/browse/EMQX-10775
2023-09-05 09:52:17 +02:00
Thales Macedo Garitezi 23d63f5e01 refactor: fork clientid type for `emqx_ds:session_id/0` 2023-09-04 15:38:25 -03:00
Thales Macedo Garitezi 60ae3c15c8 refactor: disregard impossible case 2023-09-04 15:38:25 -03:00
Thales Macedo Garitezi 2cfe5ba057 fix(plugins_api): fix response types and test 2023-09-04 14:37:25 -03:00
Thales Macedo Garitezi 02c3d6a0a7 fix(data_import): rm duplicate import call and fix test 2023-09-04 14:19:59 -03:00
Zaiming (Stone) Shi 885dfe53e0
Merge pull request #11560 from zmstone/0904-fix-nodetool-patches-dir
fix(nodetool): ensure patches dir added for rpm/deb installs
2023-09-04 17:50:59 +02:00
Thales Macedo Garitezi 73d4248334 test(cth_cluster): always allocate listener ports 2023-09-04 11:22:26 -03:00
Andrew Mayorov 9f0f218387
test(router): simplify cluster-related testcase in helper testsuite 2023-09-04 18:05:59 +04:00
Ivan Dyachkov 14cf2d870a
Merge pull request #11561 from id/0904-sync-release-51
sync release 51
2023-09-04 14:46:13 +02:00
Andrew Mayorov 7d26b7bc1a
fix(router): emit clearer error when conflicting schemas in use 2023-09-04 16:37:38 +04:00
Thales Macedo Garitezi 88f1d6eafd docs: hide changelog for feature
This is not going GA in 5.2.0
2023-09-04 09:17:09 -03:00
Thales Macedo Garitezi d33ad8a46f feat: cluster purge (r5.2)
Port of https://github.com/emqx/emqx/pull/11447

targeting `release-52`

Fixes https://emqx.atlassian.net/browse/EMQX-10763
2023-09-04 09:15:28 -03:00
Ivan Dyachkov 6e4215037c
Merge pull request #11556 from zhongwencool/pin-opentelemetry-vsn
chore: ping opentelemetry v1.3.0-emqx
2023-09-04 13:21:40 +02:00
Andrew Mayorov 893f69617a
chore(test): drop obsolete TODOs 2023-09-04 14:40:49 +04:00
Andrew Mayorov f0a0c7d4b1
fix(cthsuite): avoid duplicate application env entries
Because `application:set_env/1` complains loudly if there are
duplicates.
2023-09-04 14:40:49 +04:00
Andrew Mayorov 5024304bf9
fix(router): wait for tables replicate before choosing schema vsn 2023-09-04 14:40:48 +04:00
Ivan Dyachkov 6d984edb13 chore: fix typos and use consistent wording in the changelog 2023-09-04 11:53:47 +02:00
Ivan Dyachkov 24230a64df chore: bump app versions 2023-09-04 11:39:21 +02:00
Ivan Dyachkov b2f57636bd Merge remote-tracking branch 'upstream/release-51' into 0904-sync-release-51 2023-09-04 11:34:22 +02:00
Kjell Winblad 52546ac50f
Merge pull request #11522 from kjellwinblad/kjell/fix/EMQX-10778
fix: bad error message when rule engine schema name is too long
2023-09-04 11:05:55 +02:00
Zaiming (Stone) Shi 042c56aa12 fix: revert data dir creation in lib dir 2023-09-04 10:13:00 +02:00
Zaiming (Stone) Shi d0ccd80850 fix(nodetool): ensure patches dir added for rpm/deb installs 2023-09-04 10:04:44 +02:00
Ilya Averyanov 240afecd69
Merge pull request #11487 from savonarola/0821-optimize-bcrypt
feat: reduce bcrypt rounds to a usable value
2023-09-04 10:12:40 +03:00
zhongwencool 0c3db3b9b1 chore: ping opentelemetry in mix.exs 2023-09-04 09:34:09 +08:00
zhongwencool ce571d892e chore: ping opentelemetry v1.3.0-emqx 2023-09-04 09:34:09 +08:00
lafirest e9583c6ab8
Merge pull request #11553 from lafirest/chore/example
chore: comment mountpoints to support direct copy-paste used
2023-09-02 08:47:21 +08:00
SergeTupchiy cf655f25ca
Merge pull request #11547 from SergeTupchiy/EMQX-10180-fix-function_clause-bridge-errors
fix function_clause errors in data bridges
2023-09-01 20:50:59 +03:00
Serge Tupchii ed9afe3345 refactor(emqx_connector): use `hocon_schema:override/2` to make pgsql 'username' field required 2023-09-01 19:56:07 +03:00
Serge Tupchii bc9b270308 chore: add changelog for bridges `function_clause` fixes 2023-09-01 19:56:07 +03:00
Serge Tupchii 607705518b test(emqx_bridge_cassandra): add connector test case for Cassandra configured without authentication 2023-09-01 19:56:07 +03:00
Serge Tupchii f0c75d97e1 chore: upgrade emqx_http_lib to 0.5.3
0.5.3 release includes a fix to parse <host>:<port> URLs using the default http scheme.
2023-09-01 19:56:07 +03:00
Serge Tupchii c3b3460173 fix(emqx_oracle): make username a required field in emqx_oracle_schema 2023-09-01 19:56:07 +03:00
Andrew Mayorov 4ab5f8374b
chore(schema): mark routing storage schema readOnly
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2023-09-01 19:58:31 +04:00
Andrew Mayorov ebf13c90ea
test(router): make sort stable in e2e routing testcase 2023-09-01 19:48:56 +04:00
Ilya Averyanov 90156befb5 feat: improve bcrypt usability
* limit salt rounds to usable values
* update bcrypt library to enable concurrent bcrypt hash calculation
2023-09-01 17:36:11 +03:00
Serge Tupchii c54527857a fix(emqx_bridge_sqlserver): use empty password by default as it is not a required field 2023-09-01 16:57:35 +03:00
Serge Tupchii 1bf86250dd fix(emqx_bridge_cassandra): allow cassandra bridge without username/password
Cassandra can be used without credentials, if it is configured with AllowAllAuthenticator (default).
2023-09-01 16:57:35 +03:00
Thales Macedo Garitezi 2c9220133c
Merge pull request #11550 from thalesmg/nodetool-patch-load-r52-20230831
fix(nodetool): add patches directory to head of path
2023-09-01 10:54:27 -03:00
lafirest f0e97ab0d8
Merge pull request #11557 from lafirest/chore/dev
chore(dev): support the EMQX_NODE__NAME variable
2023-09-01 21:37:11 +08:00
Andrew Mayorov 545f1c84a6
fix(cth): do not allocate ports for `emqx` app by default
This causes tricky and impressively hard to track side effects down
the line. Namely, loading `emqx_schema` _after_ `emqx_conf_schema`
(as part of cluster node startup sequence) leads to a couple of
schema root rewrites, because `emqx_schema` defines similar config
roots yet slightly differently (e.g. `authorization`).
2023-09-01 17:23:34 +04:00
lafirest 8d0f3d9dd1
Merge pull request #11555 from Kinplemelon/kinple/for-upgrade-dashboard
chore: upgrade dashboard to e1.2.0-beta.9 for ee
2023-09-01 18:11:46 +08:00
firest d4aba52e16 chore(dev): support the EMQX_NODE__NAME variable 2023-09-01 18:03:45 +08:00
Andrew Mayorov 0a879bffd1
test(router): add e2e testcase for cluster-wide routing
Which verifies that both router storage schemas work correctly.
2023-09-01 13:49:12 +04:00
Andrew Mayorov 4946266297
chore(schema): mention when routing schema v2 is introduced 2023-09-01 13:49:11 +04:00
Andrew Mayorov eb0385a28f
chore(router): separate test-only function exports 2023-09-01 13:49:11 +04:00
zhongwencool 3d859453f4
Merge pull request #11554 from lafirest/chore/exhook_prop
chore: shutdown reason will never be a UTF8 atom
2023-09-01 16:53:26 +08:00
Kjell Winblad 3bb65e6b05
Merge pull request #11542 from kjellwinblad/kjell/fix/EMQX-10775
fix: update gpb library to fix type error
2023-09-01 10:07:03 +02:00
Kinplemelon 94ca9db2f9 chore: upgrade dashboard to e1.2.0-beta.9 for ee 2023-09-01 14:25:31 +08:00