Commit Graph

13560 Commits

Author SHA1 Message Date
Andrew Mayorov
2b4e49e7df
fix(bufworker): handle replies of simple async queries
Before that change, simple queries were treated as "retries"
essentially, thus skipping all the reply processing there is.
2023-02-24 15:06:49 +03:00
Andrew Mayorov
9cbe64a132
fix(test): make strings json-friendly in kafka testsuite 2023-02-24 15:05:20 +03:00
Andrew Mayorov
de740a2fd9
ci: use official zookeeper image
Former one ate almost all of my free memory for some reason. This
one looks more predictable.
2023-02-24 15:03:03 +03:00
Zaiming (Stone) Shi
c97d17cc91 test: refactor to loop wait for counters 2023-02-24 09:02:03 +01:00
Zaiming (Stone) Shi
a10dbba084 refactor(buffer_worker): less defensive on inflight counter decrement 2023-02-23 21:23:10 +01:00
Zaiming (Stone) Shi
7a6465e2cf fix(buffer_worker): ensure flush timer reset in blocked state 2023-02-23 21:06:38 +01:00
Zaiming (Stone) Shi
3a6dbbdd05 refactor(buffer_worker): ensure flsh message is never missed 2023-02-23 20:11:00 +01:00
Zaiming (Stone) Shi
dbfdeec5e9 fix(buffer_worker): log unknown async replies 2023-02-23 12:55:49 +01:00
Zaiming (Stone) Shi
356a94af30 fix(buffer_worker): ensure async flush message is sent
This is a new issue introduced in the previous fix commits
after handling the partial expiry correctly, the
IsFullBefore check is no longer the state before the reply
is received but the state after a partially-expired batch
is shrinked.
The fix is simple, move the check to the entry-point of
where async reply callback enters, then send an async
'flush' notification regardless of the handling result.
2023-02-23 09:47:34 +01:00
Zaiming (Stone) Shi
3413af76be fix(emqx_misc): ensure flatten list for safe dir 2023-02-23 09:05:52 +01:00
Zaiming (Stone) Shi
713220f88b refactor(buffer_worker): more generic process for all_expired 2023-02-23 00:04:20 +01:00
Zaiming (Stone) Shi
036f69cd6e test: ensure batch size > 1 is covered in expiration test 2023-02-22 23:26:04 +01:00
Zaiming (Stone) Shi
bf8becd521 test: make sure gauge return to 0 in test cases 2023-02-22 23:07:12 +01:00
Zaiming (Stone) Shi
2811c371ad docs: add changelogs 2023-02-22 22:18:44 +01:00
Zaiming (Stone) Shi
fc614e16e5 fix(bridge): update inflight items after partial expiry 2023-02-22 22:05:56 +01:00
Zaiming (Stone) Shi
4e70374e2a test: make docker-compose work 2023-02-22 18:28:23 +01:00
Zaiming (Stone) Shi
bb13d0708f fix(bridge): fix dropped counter and inflight gauge
Prior to this fix there were two metrics issues
1. if a batch is all requests expired when receiving a reply
   it only bumped 1 instead of the batch size for 'late_reply'
2. when a batch is partially delivered (or expired), the
   dropped requests were not decremented from the inflight size gauge
2023-02-22 13:20:58 +01:00
Ivan Dyachkov
4cc92c0368
Merge pull request #10011 from id/feat-add-pdb-to-ee
Feat add pdb to ee
2023-02-22 10:58:15 +00:00
Ivan Dyachkov
1744b8bb7b chore: add changelog to ee 2023-02-22 10:10:56 +01:00
Ivan Dyachkov
6fd11904ee chore: add changelog for #9213 2023-02-22 10:10:56 +01:00
Ivan Dyachkov
beb5a238e7 chore(charts): add readme and a script to sync changes 2023-02-22 10:10:56 +01:00
Ivan Dyachkov
2d67c96553 feat(charts): add pod disruption budget to ee 2023-02-22 10:10:54 +01:00
Ivan Dyachkov
74c4731c4a
Merge pull request #9986 from a-d-r-i-a-n-d/master
Add MQTT ingress and remove mgmt references
2023-02-22 08:59:35 +00:00
Ivan Dyachkov
2b341832f1
Merge pull request #10001 from id/chore-charts-fix-object-to-list
Chore charts fix object to list
2023-02-22 08:55:08 +00:00
Zaiming (Stone) Shi
a1ba7bc004
Merge pull request #9976 from zmstone/0215-docs-improve-bridge_mode-description
docs: improve bridge_mode description
2023-02-21 20:55:20 +01:00
Stefan Strigler
967369075f
Merge pull request #10014 from sstrigler/EMQX-7822-5-0-get-api-v-5-monitor-nodes-node-must-return-404-when-node-is-not-responding
fix: return `404` for unknown node names
2023-02-21 17:09:03 +01:00
Stefan Strigler
66defab4f0
Merge pull request #10013 from sstrigler/EMQX-7820-5-0-fix-swagger-for-get-gateway-name-clients
fix: schema for `/gateways/:name/clients` was missing top-level structure
2023-02-21 17:04:14 +01:00
Stefan Strigler
a0589d5b95 fix: return 404 for unknown node names 2023-02-21 16:23:38 +01:00
Stefan Strigler
965d63f4f5 fix: schema for /gateways/:name/clients was missing top-level structure 2023-02-21 15:33:56 +01:00
Stefan Strigler
bf978efc83
Merge pull request #10009 from sstrigler/EMQX-7994-get-trace-name-log-bytes-xxx-does-not-do-input-validation
get trace name log bytes xxx does not do input validation
2023-02-21 14:12:57 +01:00
William Yang
969cbecf91
Merge pull request #10010 from qzhuyan/dev/william/new-emqtt-quicer
chore: bump quicer 0.0.111 and emqtt 1.8.2
2023-02-21 13:30:27 +01:00
Zaiming (Stone) Shi
ddbfe54689
Merge pull request #9996 from zmstone/0217-fix-raw-defaults-in-schema
0217 fix raw defaults in schema
2023-02-21 13:13:27 +01:00
Ivan Dyachkov
4461a07af2
Merge pull request #9213 from may-cDev/master
feat: Add pod disruption budget to helm chart
2023-02-21 10:17:33 +00:00
Ivan Dyachkov
94420b44f5
Merge pull request #9973 from id/feat-release-windows-binaries-as-zip
feat: release windows binaries as zip
2023-02-21 09:43:22 +00:00
Stefan Strigler
7502e57066 chore: add changelog 2023-02-21 10:41:59 +01:00
William Yang
0a207856aa chore: bump quicer 0.0.111 and emqtt 1.8.2 2023-02-21 10:36:15 +01:00
Stefan Strigler
e78c2c2869 fix: return 404 in case node is not found 2023-02-21 10:20:34 +01:00
Stefan Strigler
9ecf154a71 fix: limit bytes param to signed 32bit int
We still need to check if chunk we're reading fits in memory
2023-02-21 10:20:14 +01:00
Stefan Strigler
8ae4440061 style: fix API description for bytes parameter 2023-02-21 09:41:32 +01:00
Zaiming (Stone) Shi
9316690c29 fix(schema): binary string for default values
A lot of the string value fields had default value defined in
schema as list-string rather than binary-string.
This caused the generated schema dump (in JSON format)
to have raw_default field as an integer array.
2023-02-21 09:09:51 +01:00
Zaiming (Stone) Shi
53ecfb98d0 chore: fix stale code comments 2023-02-21 09:09:51 +01:00
Zaiming (Stone) Shi
97d08553c1 test: fix test script to use provided boot script 2023-02-21 09:09:51 +01:00
Ivan Dyachkov
fb244464d7 feat: release windows binaries as zip 2023-02-21 08:38:20 +01:00
Ivan Dyachkov
cb5aeaab2e chore(charts-ee): fix object to list 2023-02-21 08:37:40 +01:00
Tautcius
5cf9fa90fb chore(charts): fix object to list
Leaving default value ```{}``` makes error when trying to install chart. need to be a list to work properly with certificate names list.
2023-02-21 08:37:40 +01:00
Ivan Dyachkov
67f88f27fd
Merge pull request #10005 from id/ci-try-to-fix-flaky-kafka
ci: fix flaky kafka tests
2023-02-20 23:36:43 +01:00
Ivan Dyachkov
c869eff6e8 test(kafka): disable overload protection in 2 more places 2023-02-20 21:38:14 +01:00
Ivan Dyachkov
9d30a52910 test: disable replayq memory overload protection 2023-02-20 19:29:26 +01:00
Ivan Dyachkov
977bfb3d6c ci(kafka): use more suitable env variable to pass jaas conf 2023-02-20 18:19:07 +01:00
Ivan Dyachkov
d5174c1555 ci: make sure we use latest compose plugin
https://docs.docker.com/compose/#compose-v2-and-the-new-docker-compose-command
2023-02-20 18:19:04 +01:00