Ilya Averyanov
143086b0ef
feat(queue): replace invalid rewing algorithm with skipping iterator
2024-07-30 13:01:16 +03:00
Ilya Averyanov
c569625dd1
feat(queue): handle partially unacked ranges
2024-07-30 13:01:16 +03:00
Ilya Averyanov
7daab1ab23
feat(queue): move replay progress to a separate data structure
2024-07-30 13:01:16 +03:00
Ilya Averyanov
077ee38530
feat(queue): add config
2024-07-30 13:01:15 +03:00
Ilya Averyanov
b74189570d
feat(queue): do not use ee app from emqx app
2024-07-30 13:01:15 +03:00
Ilya Averyanov
649cf88042
feat(queue): kick agents that do not return to the replaying state for long
2024-07-30 13:01:15 +03:00
Ilya Averyanov
1496f7f778
feat(queue): add leader_rank_progress test
2024-07-30 13:01:15 +03:00
Ilya Averyanov
91dd1183ad
feat(queue): fix dialyzer issues
2024-07-30 13:01:14 +03:00
Ilya Averyanov
65ab81ff74
feat(queue): fix quick resubscription
2024-07-30 13:01:14 +03:00
Ilya Averyanov
53d4cd3174
feat(queue): rename leader' stream_progresses to stream_states
2024-07-30 13:01:14 +03:00
Ilya Averyanov
7d004b37da
feat(queue): implement stream finalization
2024-07-30 13:01:13 +03:00
Ilya Averyanov
e5547005eb
feat(queue): implement resubscribe test
2024-07-30 13:01:13 +03:00
Ilya Averyanov
fada2a3fea
feat(queue): reorganize and document shared subs module
2024-07-30 13:01:13 +03:00
Ilya Averyanov
b4a010d63b
feat(queue): implement unsubscribe
2024-07-30 13:01:13 +03:00
Ilya Averyanov
9bde981c44
feat(queue): fix static check issues
2024-07-30 13:01:12 +03:00
Ilya Averyanov
7658e081c5
feat(queue): move design docs to the EIP
2024-07-30 13:01:12 +03:00
Ilya Averyanov
8dce530d15
feat(queue): fix progress reporting and more tests
...
We test reassignment during the intensive replay
2024-07-30 13:01:12 +03:00
Ilya Averyanov
a20d262327
feat(queue): send progress before fetching new messages
2024-07-30 13:01:11 +03:00
Ilya Averyanov
d32f282feb
feat(queue): add graceful disconnect
2024-07-30 13:01:11 +03:00
Ilya Averyanov
1d728a05b2
feat(queue): send metadata with agent when connecting to leader
...
It will be used to attach agent taints to improve stream assignment.
2024-07-30 13:01:11 +03:00
Ilya Averyanov
49bff5c08a
feat(queue): wrap remote calls in a proto
2024-07-30 13:01:10 +03:00
Ilya Averyanov
61eda0ff31
feat(queue): identify agents by SessionId in tests
2024-07-30 13:01:10 +03:00
Ilya Averyanov
8f0d807c00
feat(queue): add new test scenarios
2024-07-30 13:01:10 +03:00
Ilya Averyanov
bceb5d43ed
feat(queue): fix stream rebalancing issues, update tests
2024-07-30 13:01:10 +03:00
Ilya Averyanov
03fea34962
feat(queue): document protocol between agent and leader
...
Document leader's states
2024-07-30 13:01:09 +03:00
Ilya Averyanov
082514f557
feat(queue): implement full protocol between agent and leader
2024-07-30 13:01:09 +03:00
Ilya Averyanov
c831f0772f
feat(queue): handle renew_lease_timeout
2024-07-30 13:01:09 +03:00
Ivan Dyachkov
ca455ad992
Merge pull request #13532 from emqx/sync-release-57-20240729-021938
...
Sync release-57
2024-07-30 10:49:09 +02:00
JianBo He
c347c2c285
Merge pull request #13540 from zmstone/0729-rule-funciton-getenv-should-be-limited-to-vars-with-prefix-EMQXVAR_
...
refactor: force getenv to access only OS env with prefix EMQXVAR_
2024-07-30 08:23:24 +08:00
zmstone
a49cd78aae
refactor: force getenv to access only OS env with prefix EMQXVAR_
2024-07-29 23:54:00 +02:00
zmstone
4065158be7
Merge pull request #13534 from JimMoen/feat-add-superuser-skip-authz
...
feat: add authz skipped trace for superuser
2024-07-29 22:30:13 +02:00
ieQu1
18721d05bc
Merge pull request #13526 from ieQu1/replicant-ee
...
fix(mria): Reserve replicant role for EE only
2024-07-29 22:10:06 +02:00
zmstone
7f7d0741d2
Merge pull request #13528 from zmstone/0726-unrecoverable-error-limit
...
0726 unrecoverable error limit
2024-07-29 21:32:14 +02:00
zmstone
2e39c4ad5e
Merge pull request #13495 from thalesmg/20240719-m-hide-enable-fields-mkII
...
chore: hide enable flags from schema and config examples
2024-07-29 21:31:20 +02:00
zmstone
5b50d5433a
Merge pull request #13537 from thalesmg/20240729-r57-auto-decode-payload-kprodu
...
feat: attempt to automatically decode `payload` similar to key and message templates
2024-07-29 21:03:41 +02:00
zmstone
eab440e0c1
docs: add changelog for PR 13528
2024-07-29 20:41:57 +02:00
zmstone
e08425e67d
refactor(log-throttler): remove unnecessary code
...
there is no need to reset counters before erasing
2024-07-29 20:41:27 +02:00
zhongwencool
f6f1d32da0
feat: throttle with resource_id
2024-07-29 20:41:27 +02:00
zhongwencool
2924ec582a
feat: add unrecoverable_resource_error throttle
2024-07-29 20:41:27 +02:00
zhongwencool
8dc1d1424a
chore: add resource tag for log
2024-07-29 20:41:27 +02:00
Thales Macedo Garitezi
693d5dd394
feat: attempt to automatically decode payload similar to key and message templates
2024-07-29 13:01:06 -03:00
ieQu1
f85db0a0e9
fix: Apply suggestions from code review
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2024-07-29 17:22:41 +02:00
lafirest
60aefd1065
Merge pull request #13520 from lafirest/feat/scram-rest-acl
...
feat(scram): supports ACL rules in `scram_restapi` backend
2024-07-29 22:46:50 +08:00
JianBo He
c637422302
Merge pull request #13518 from thalesmg/20240724-r57-dynamic-kprodu-action-mkIII
...
feat(kafka producer): allow dynamic topics (mkIII)
2024-07-29 22:43:20 +08:00
Thales Macedo Garitezi
e80d43d14d
test(fix): use ebin path without plugins
...
Without the filtering that already exists in cth:ebin_path, the rebar3 plugins path may
take priority over normal dependencies. Since we just updated hocon, and there seems to
be an older hocon among the rebar3 plugins, it started to break the test because older
hocon was getting loaded in the peer.
2024-07-29 09:50:25 -03:00
Thales Macedo Garitezi
b3074144cc
chore: temporarily revert NO_DOC changes to fields with default value = false
...
These will be dealt with in follow up PRs, by allowing the parent struct to be set to a
special `disabled` value in such cases.
2024-07-29 09:50:25 -03:00
Thales Macedo Garitezi
6786c9b517
refactor: improve descriptions and identifiers
...
Co-authored-by: zmstone <zmstone@gmail.com>
2024-07-29 09:45:52 -03:00
Thales Macedo Garitezi
8913de10c0
Merge pull request #13527 from thalesmg/20240726-r57-multiple-froms-sql-test
...
fix(rule engine tester): fix message publish with bridge source in from clause
2024-07-29 09:37:17 -03:00
JimMoen
5ddd7d7a6a
test: superuser skipped all authz check
2024-07-29 17:27:36 +08:00
JimMoen
d7cac74bed
feat: add authz skipped trace
2024-07-29 17:27:36 +08:00