Commit Graph

20665 Commits

Author SHA1 Message Date
Ivan Dyachkov
d82f7c3f71 fix: qlc could not create temp files in docker container (#12875)
qlc uses file_sorter that puts temporary files in the working
directory by default, which is not writable by emqx user since
58d0f04056.

One of the consequences is that users cannot access retained messages
from the dashboard, but there are likely other issues as well.

This patch fixes this by making /opt/emqx directory owned by emqx:emqx.
2024-04-16 08:28:46 +02:00
Ivan Dyachkov
a0ffe5e7ae chore: 5.6.1-rc.1 2024-04-15 22:05:05 +02:00
Ivan Dyachkov
091aa71a6b
Merge pull request #12882 from kjellwinblad/kjell/fix/rocketmq_same_topic/EEC-1006
fix(rocketmq action): all actions used only one topic
2024-04-15 22:03:57 +02:00
Kjell Winblad
f481871792 fix(rocketmq action): we need one producer group per channel and topic
We need one producer group per channel and topic because we can have
several topics per channel due to templating.
2024-04-15 20:52:08 +02:00
Kjell Winblad
1fe92bddd0 fix(rocketmq action): make sure that topic template is respected 2024-04-15 20:37:23 +02:00
Kjell Winblad
2fe36776b5 docs: add change log entry 2024-04-15 20:21:16 +02:00
Kjell Winblad
7f9a311988 fix(rocketmq action): all actions used only one topic
This commit makes sure that a set of rocketmq workers are started for
each topic. Before this commit all actions for a rocketmq connector used
the same workers which all were bound to a single topic so all messages
got delivered to that topic regardless of the action configuration.

We should have automatic tests to check that the messages actually go to
different topics but this needs to go into another PR since we have to
deliver the fix fast and the rocketmq library does not support reading
from topics.

Fixes:
https://emqx.atlassian.net/browse/EEC-1006
2024-04-15 20:08:56 +02:00
Ivan Dyachkov
76aa4cf434
Merge pull request #12865 from id/0411-cut-5.6.1-beta.1
chore: 5.6.1-beta.1
2024-04-12 08:39:03 +02:00
Ivan Dyachkov
b27fc0da26 test(emqx_machine): ensure node is down before testing open ports 2024-04-11 15:24:41 +02:00
Ivan Dyachkov
3b7cade671 chore: 5.6.1-beta.1 2024-04-11 13:49:40 +02:00
SergeTupchiy
0b167aaa92
Merge pull request #12856 from SergeTupchiy/EMQX-11826-prevent-replicants-from-rejoining-a-left-core
prevent replicants from rejoining a left core
2024-04-09 20:04:16 +03:00
Serge Tupchii
fae9005f87 test(emqx_mgmt_cli): test that replicants do not join a left core node 2024-04-09 19:06:13 +03:00
Serge Tupchii
55179ccfed chore: update ekka to 0.19.3
Included updates:
  - https://github.com/emqx/mria/pull/178
2024-04-09 19:04:38 +03:00
JianBo He
027d1d9c7a
Merge pull request #12843 from zhongwencool/fix-replica-node-leave
fix: clean self node's cluster commit when leave cluster
2024-04-09 18:30:15 +08:00
zhongwencool
d393e96379
chore: Apply suggestions from code review
Co-authored-by: ieQu1 <99872536+ieQu1@users.noreply.github.com>
2024-04-09 16:56:41 +08:00
Ivan Dyachkov
4827186994
Merge pull request #12853 from Kinplemelon/kinple/for-upgrade-dashboard
chore(dashboard): bump dashboard version to v1.8.1 & e1.6.1
2024-04-09 10:49:01 +02:00
zhongwencool
8381132919 chore: bump emqx_conf to 0.1.36 2024-04-09 14:44:11 +08:00
zhongwencool
5579086220 chore: replicantor -> replicant 2024-04-09 14:15:18 +08:00
zhongwencool
a1495689c0 fix: clean self node's cluster commit when leave cluster 2024-04-09 14:13:25 +08:00
Kinplemelon
698b8e6a05 chore(dashboard): bump dashboard version to v1.8.1 & e1.6.1 2024-04-09 09:37:49 +08:00
JianBo He
e11c4a9c83
Merge pull request #12826 from emqx/import-source-bridges
fix: source bridges missing after restore the backup files
2024-04-08 16:02:15 +08:00
Shawn
e89dc32c90 ci: run emqx_management both with ee and ce profile 2024-04-07 18:33:52 +08:00
Shawn
1c81c79a2c chore: add testcase for importing retained msgs and sources 2024-04-07 17:24:26 +08:00
Shawn
9d1a69aaa9 fix: cannot import retained messages 2024-04-07 17:03:14 +08:00
Shawn
319ec50c0d fix: source bridges missing after restore the backup files 2024-04-03 18:26:51 +08:00
JimMoen
940f9fec4c
Merge pull request #12824 from JimMoen/EMQX-12043/subscribers-count
fix(stats): `'subscribers.count'` contains shared-subscriber
2024-04-03 09:51:29 +08:00
JimMoen
5759ba5162
chore: bump app version 2024-04-02 17:09:22 +08:00
JimMoen
50150423e1
docs: rename change log file name due to cherry-pick 2024-04-02 17:04:38 +08:00
JimMoen
50bceee9ab
fix(stats): 'subscribers.count' contains shared-subscriber 2024-04-02 16:56:40 +08:00
JimMoen
0f4b148294
refactor: uniform shared_sub table macros 2024-04-02 16:56:39 +08:00
JimMoen
1a4cfc2a2d
fix(api_schema): removed metrics schema in api spec
- Followup [PR#6622](https://github.com/emqx/emqx/pull/6622).
2024-04-02 16:56:36 +08:00
Ivan Dyachkov
28214b4d49
Merge pull request #12811 from id/0328-ci-restore-build-tgz-in-build-packages
ci: restore build tgz in build packages
2024-04-02 08:09:37 +02:00
SergeTupchiy
ed97a7c08e
Merge pull request #12820 from SergeTupchiy/EMQX-12124-fix-msgs-api-client-shutdown-followup-fix
fix(emqx_mgmt): do not attempt to get a stacktrace of a remote process
2024-04-01 18:25:40 +03:00
Serge Tupchii
ceb04ba06d fix(emqx_mgmt): do not attempt to get a stacktrace of a remote client connection process 2024-04-01 16:42:12 +03:00
SergeTupchiy
dd6f65f7dd
Merge pull request #12814 from SergeTupchiy/EMQX-12124-fix-msgs-api-client-shutdown
fix(emqx_mgmt): catch OOM shutdown exits properly when calling a conn procces
2024-04-01 16:26:54 +03:00
Serge Tupchii
6cdf876684 chore: add changelog 2024-03-29 23:03:35 +02:00
Serge Tupchii
42af1f9d63 fix: handle internal timeout errors in client Mqueue/Inflight APIs 2024-03-29 23:03:35 +02:00
Serge Tupchii
f5a820cb10 fix(emqx_mgmt): catch OOM shutdown exits properly when calling a client conn process
The exit reason is expected to include gen_server `Location`:
  `{{shutdown, OOMInfo}, Location}`.
2024-03-29 13:09:08 +02:00
Ivan Dyachkov
6e0be5ad35 ci(release): bump emqx/upload-assets to 0.5.2
this version adds an option to skip uploading existing assets
2024-03-28 20:02:09 +01:00
SergeTupchiy
2e528d1dd8
Merge pull request #12802 from SergeTupchiy/EMQX-11826-prevent-left-node-from-rejoining-5.6.1
prevent a left node from rejoining the same cluster
2024-03-28 19:49:18 +02:00
Serge Tupchii
3eda182e9a fix: prevent a node from discovering and re-joining the same cluster after it has (manually) left it. 2024-03-28 18:09:27 +02:00
Ivan Dyachkov
5367893427 ci(build_packages): restore building tgz 2024-03-28 16:41:50 +01:00
Zaiming (Stone) Shi
002266c1db
Merge pull request #12806 from zmstone/0328-upgrade-http-clients
chore: upgrade http client libs gun-1.3.11 and ehttpc-0.4.13
2024-03-28 16:06:57 +01:00
SergeTupchiy
63c017a72f
Merge pull request #12804 from SergeTupchiy/EMQX-12058-improve-force-shutdown-error-reason-5.6.1
chore: rename `message_queue_too_long` error reason to `mailbox_overflow` (5.6.1 port)
2024-03-28 16:14:51 +02:00
SergeTupchiy
93c87fcb25
Merge pull request #12803 from SergeTupchiy/EMQX-11808-remove-uploaded-invalid-backups-5.6.1
fix(emqx_mgmt_data_backup): remove an uploaded backup file if it's not valid (5.6.1 port)
2024-03-28 15:37:10 +02:00
Thales Macedo Garitezi
7b9082a36c
Merge pull request #12805 from thalesmg/port-fix-12755-r56-20240328
fix(kafka-based bridges): avoid trying to get raw config for replayq dir
2024-03-28 10:27:31 -03:00
zmstone
7982dd017b chore: upgrade http client libs gun-1.3.11 and ehttpc-0.4.13 2024-03-28 13:20:59 +01:00
Thales Macedo Garitezi
04bf763890 fix(kafka-based bridges): avoid trying to get raw config for replayq dir
Fixes https://emqx.atlassian.net/browse/EMQX-12049
2024-03-28 09:13:34 -03:00
Serge Tupchii
906a77d167 chore: rename message_queue_too_long error reason to mailbox_overflow
`mailbox_overflow` is consistent with the corresponding config parameter:
 'force_shutdown.max_mailbox_size'
2024-03-28 12:56:00 +02:00
Serge Tupchii
1d1f595e6f fix(emqx_mgmt_data_backup): remove an uploaded backup file if it's not valid 2024-03-28 12:54:51 +02:00