Commit Graph

14084 Commits

Author SHA1 Message Date
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 e9787c3ee3
Merge pull request #9966 from zmstone/0213-port-blackbox-cover-report-from-v4
feat: add new module emqx_cover.erl
2023-02-23 09:44:11 +01:00
ieQu1 fb3e4308b1
Merge pull request #10021 from ieQu1/ekka-0.14.1
chore(ekka): Bump version
2023-02-23 09:38:56 +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 418f397493
Merge pull request #10007 from zmstone/0221-turn-off-kafka-bridge-default-mem-olp
Turn off kafka bridge default mem olp
2023-02-22 22:28:11 +01:00
Zaiming (Stone) Shi 8bee16b36b
Merge pull request #10002 from zmstone/0220-fix-changelog-formatter
[build]: Make it easier to format change logs for alpha and beta releases
2023-02-22 22:23:43 +01:00
Zaiming (Stone) Shi 3458aee296
Merge branch 'master' into 0213-port-blackbox-cover-report-from-v4 2023-02-22 22:21:44 +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
ieQu1 b0777ca73b chore(ekka): Bump version 2023-02-22 20:55:04 +01:00
Zaiming (Stone) Shi 4e70374e2a test: make docker-compose work 2023-02-22 18:28:23 +01:00
Stefan Strigler 0cfa5e2ce1
Merge pull request #9994 from sstrigler/EMQX-3688-emqx-mgmt
emqx mgmt code coverage and cleanup
2023-02-22 14:30:36 +01:00
Zaiming (Stone) Shi 6a1085a842 chore: change 'emqx_ctl' usage to 'emqx ctl' 2023-02-22 13:57:55 +01:00
Zaiming (Stone) Shi 8d480a1dc9 fix(bin/emqx): fail fast if cookie is obviously wrong 2023-02-22 13:57:55 +01:00
Zaiming (Stone) Shi a6946d4f68 chore: update v5 PR template 2023-02-22 13:46:51 +01:00
Zaiming (Stone) Shi ada68e12e6 fix(kafka): change default value for memory_overload_protection to false 2023-02-22 13:46:51 +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
Zaiming (Stone) Shi 1715b9a480 refactor: make format-changelog.sh easier to run for alpha/beta releases 2023-02-21 20:43:48 +01:00
Zaiming (Stone) Shi 7538a672b2 refactor: move changelog formatter to scripts/rel sub dir 2023-02-21 20:43:48 +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
Stefan Strigler 28382ec26b test: add test for pubsub api 2023-02-21 13:11:34 +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
Stefan Strigler 81fad58f12 fix: re-add `list_subscriptions/0`
Created a ticket to add an actual working implementation
2023-02-21 09:41:00 +01:00
Stefan Strigler 71f3efb2ce style: fix empty line 2023-02-21 09:41:00 +01:00
Stefan Strigler c44c7fcbce style: remove unused macro 2023-02-21 09:41:00 +01:00
Stefan Strigler 0482f43802 test: add test for banned and alarms 2023-02-21 09:41:00 +01:00