Andrew Mayorov
a28fc7bfa8
feat(route-sync): do not run empty batches
2024-01-12 11:57:25 +01:00
Andrew Mayorov
2dffd44985
feat(route-sync): allow to enable syncer pool only on cores/replicants
...
So we would able to roll it out and test more gradually.
2024-01-12 11:57:25 +01:00
Andrew Mayorov
884f784c1c
refactor(router): don't `emqx_broker_helper:monitor/1` in batches
...
As per out current understanding, this doesn't changes much in terms of
observability, since other nodes call `ekka:monitor(membership)` anyway,
so they will observe nodedowns without explicitly writing an entry into
the `?ROUTING_NODE` table.
2024-01-12 11:57:25 +01:00
Andrew Mayorov
d6f731c4fc
fix(route-sync): use public function as mria activity target
2024-01-12 11:57:25 +01:00
Andrew Mayorov
7d037cfe91
chore(route-sync): clarify why wait indefinitely for reply
2024-01-12 11:57:24 +01:00
Andrew Mayorov
498b7a922d
chore(syncer): fix code style issues
...
Co-Authored-By: Zaiming (Stone) Shi <zmstone@gmail.com>
2024-01-12 11:57:24 +01:00
Andrew Mayorov
0b3f5f7c37
feat(syncer): allow to turn syncer pool on/off through config
2024-01-12 11:57:24 +01:00
Andrew Mayorov
38e13f2337
fix(syncer): start syncer pool before broker pool
...
As the latter depends on the former.
2024-01-12 11:57:24 +01:00
Andrew Mayorov
a1ccf85c66
test(routesync): verify that syncer preserves consistency
...
Under a highly concurrent load. Be aware that this testcase is not
deterministic.
2024-01-12 11:57:24 +01:00
Andrew Mayorov
5aeff20f8b
fix(routesync): ensure causal relationships are preserved
...
At the cost of strict FIFO semantics though.
2024-01-12 11:57:23 +01:00
Andrew Mayorov
f92b5b3f32
feat(stream): add simple stream over process message queue
2024-01-12 11:57:23 +01:00
Andrew Mayorov
54f8b47455
feat(routing): add route sync process pool
...
Dedicated to synchronizing local state updates with the global view
of the routing state.
2024-01-12 11:57:18 +01:00
Ivan Dyachkov
3b9dc434ac
ci: pin dockerfiles by digest
2024-01-12 11:55:51 +01:00
Ivan Dyachkov
775edd9f5c
ci: explicitly use --require-hashes for pip install
2024-01-12 11:29:22 +01:00
Kinplemelon
5cabc6b368
chore: upgrade dashboard to e1.5.0-beta.3 for ee
2024-01-12 18:21:40 +08:00
firest
0f1aaa65bc
fix(iotdb): move the `iot_version` into IoTDB connector
2024-01-12 17:52:31 +08:00
Ivan Dyachkov
479ceb8596
Merge pull request #12309 from id/0111-ci-pin-more-dependencies
...
ci: pin more dependencies by sha
2024-01-12 10:51:20 +01:00
JianBo He
9e85b53c39
Merge pull request #12296 from HJianBo/fix-delayed-message-http-api-500
...
fix(delayed): fix http 500 error
2024-01-12 09:37:41 +08:00
Ivan Dyachkov
4c9078d05f
ci: pin more dependencies
2024-01-11 22:08:38 +01:00
Thales Macedo Garitezi
d932fa593b
Merge pull request #12310 from thalesmg/ci-bump-elixir-vsn-sched-m-20240111
...
ci: fix elixir version in cron build job
2024-01-11 16:49:24 -03:00
Thales Macedo Garitezi
efde3ae490
ci: fix elixir version in cron build job
2024-01-11 16:16:28 -03:00
Thales Macedo Garitezi
79a4a041e4
fix(bridge_api): correctly deobfuscate secrets during dry run
...
Fixes https://emqx.atlassian.net/browse/EMQX-11733
2024-01-11 15:42:14 -03:00
Ivan Dyachkov
fb44bfcbe6
Merge pull request #12302 from id/0111-ci-restrict-token-permissions-and-pin-deps
...
ci: restrict token permissions and pin deps
2024-01-11 18:57:21 +01:00
Ivan Dyachkov
beb70265a6
ci: downgrade actions/checkout and actions/upload-artifact version in build_packages
...
Starting from v4.0.0 actions/checkout has been using node20 runtime.
On Amazon Linux 2, EL7 and Ubuntu 18.04 GLIBC it's too old for node to run:
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
2024-01-11 18:23:14 +01:00
Ilya Averyanov
ef0850c71f
Merge pull request #12305 from savonarola/1101-fix-channel-info-update
...
fix(conn): avoid storing incomplete channel info
2024-01-11 18:48:53 +02:00
Ilya Averyanov
4c66a1135b
Merge pull request #12303 from savonarola/0111-fix-indexing
...
fix(retainer): fix topic search by index
2024-01-11 18:44:56 +02:00
Thales Macedo Garitezi
c4ea79db1e
Merge pull request #12304 from thalesmg/fix-gcp-deprecated-resopts-m-20240111
...
fix(gcp_pubsub_producer): mark connector resource opts fields as deprecated
2024-01-11 13:24:04 -03:00
Ivan Dyachkov
f65ab9b48c
ci: fix actions/upload-artifact v4 compatibility
2024-01-11 16:52:42 +01:00
Ilya Averyanov
7b0b2a0527
fix(conn): avoid storing incomplete channel info
2024-01-11 18:08:13 +03:00
Ilya Averyanov
09d524144b
fix(retainer): fix topic search by index
2024-01-11 16:00:58 +03:00
Thales Macedo Garitezi
6ddbfd7b43
fix(gcp_pubsub_producer): mark connector resource opts fields as deprecated
...
Fixes https://emqx.atlassian.net/browse/EMQX-11703
2024-01-11 09:53:36 -03:00
Thales Macedo Garitezi
3dd3f4803f
Merge pull request #12293 from thalesmg/dev-fix-dev-script-m-20240110
...
ci: fix `dev` script support for elixir on OTP 26+
2024-01-11 09:21:47 -03:00
Ivan Dyachkov
bd6375e2cf
ci: bump actions versions in local actions
2024-01-11 12:52:04 +01:00
lafirest
c026d3f18a
Merge pull request #12300 from lafirest/fix/clients_api
...
fix(api): fix `api/v5/clients ` may crash when a client authenticate with JWT
2024-01-11 19:10:54 +08:00
Ivan Dyachkov
06b7d8c293
ci: run CodeQL on release-54 as well as on master
2024-01-11 11:34:46 +01:00
Ivan Dyachkov
b2a6e94961
ci: enable dependabot
2024-01-11 11:34:46 +01:00
Ivan Dyachkov
e1944739e9
ci: restrict token permissions and pin deps
2024-01-11 11:34:44 +01:00
lafirest
f042462d53
Merge pull request #12290 from lafirest/fix/retain_match
...
fix(retain): add `hasnext` into the meta data for the `GET /retain/messages`
2024-01-11 18:09:29 +08:00
Zaiming (Stone) Shi
395b31bcc6
Merge pull request #12298 from zmstone/0109-ci-upgrade-to-otp-26.2.1-2
...
ci: upgrade to otp 26.2.1-2
2024-01-11 09:20:33 +00:00
firest
aca9942fd4
fix(api): fix `api/v5/clients ` may crash when a client authenticate with JWT
2024-01-11 16:53:02 +08:00
Zaiming (Stone) Shi
ca60ef86ce
ci: upgrade to otp 26.2.1-2
2024-01-11 09:15:06 +01:00
firest
f896cf2f4f
fix(retain): add `hasnext` into the meta data for the `GET /retain/messages`
2024-01-11 16:14:40 +08:00
JianBo He
596607d549
chore: update bpapi.versions
2024-01-11 14:56:02 +08:00
JianBo He
c4dd083fd9
fix(delayed): delete delayed messge on all nodes
2024-01-11 14:12:30 +08:00
JianBo He
eea0ec135f
fix(delayed): fix http 500 error
2024-01-11 10:36:55 +08:00
JianBo He
b16920e796
Merge pull request #12285 from HJianBo/shorten-coap-params
...
feat(coap): support short param names
2024-01-11 09:09:09 +08:00
Thales Macedo Garitezi
7cdaf78d1e
ci: fix `dev` script support for elixir on OTP 26+
2024-01-10 15:15:30 -03:00
SergeTupchiy
8bea0711ac
Merge pull request #12196 from SergeTupchiy/EMQX-10891-route-cleanup-optimization
...
EMQX-10891 route cleanup optimization
2024-01-10 17:26:24 +02:00
Thales Macedo Garitezi
8532e0cf59
Merge pull request #12292 from thalesmg/fix-syskeeper-v2-only-m-20240110
...
fix(syskeeper_bridge): mark syskeeper forwarder as a v2-only action
2024-01-10 11:42:24 -03:00
Serge Tupchii
965ce5d446
perf: use mria:match_delete/2 to cleanup routes
...
This must be much more network efficient since both Mria and Mnesia
need only to replicate one op, e.g.: `{MatchPattern, clear_table}`
instead of replicating one per each key to be deleted.
2024-01-10 16:23:58 +02:00