Commit Graph

13672 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 133734b345 chore: bump version number to e5.0.1-rc.1 and v5.0.20 2023-03-07 08:41:13 +01:00
Thales Macedo Garitezi c78f914ccc
Merge pull request #10051 from thalesmg/adapt-batch-time-r50
fix(buffer_worker): add batch time automatic adjustment
2023-03-06 17:21:27 -03:00
Thales Macedo Garitezi eef65fba60 fix(buffer_worker): handle `request_timeout = infinity` case
The current schema allows `infinity` for `request_timeout`, so we have
to take that into account.  It's not currently possible to set
`batch_time = infinity`, so there's no need to treat that case.
2023-03-06 15:31:28 -03:00
Thales Macedo Garitezi 18ab7ed197 chore: bump app vsns 2023-03-06 15:31:28 -03:00
Thales Macedo Garitezi 0e707e837f docs(buffer_worker): improve description of `request_timeout` 2023-03-06 15:31:28 -03:00
Thales Macedo Garitezi e17ad320ee fix(bridge): do not log in converter 2023-03-06 15:31:28 -03:00
Thales Macedo Garitezi e9d3fc511f chore(buffer_worker): change default `batch_time` to 0 and improve docs 2023-03-06 15:31:28 -03:00
Thales Macedo Garitezi 9825998207 chore(gcp_pubsub): just deprecate `request_timeout` instead of removing 2023-03-06 10:12:38 -03:00
Thales Macedo Garitezi f95a30ae89 fix(webhook): convert `request_timeout`s in root and resource_opts 2023-03-06 10:12:38 -03:00
Thales Macedo Garitezi 9b087a21f5 fix(gcp_pubsub): remove conflicting `request_timeout` option
Since the buffer worker schema already contains that configuration,
having it two places can lead to quite confusing behavior.
2023-03-06 10:12:38 -03:00
Thales Macedo Garitezi 167b7a212f refactor(buffer_worker): avoid starting 0-time timers 2023-03-06 10:12:38 -03:00
Thales Macedo Garitezi e9ffabf936 fix(buffer_worker): add batch time automatic adjustment
To avoid message loss due to misconfigurations, we adjust `batch_time`
based on `request_timeout`.  If `batch_time` > `request_timeout`, all
requests will timeout before being sent if the message rate is low.
Even worse if `pool_size` is high.  We cap `batch_time` at
`request_timeout div 2` as a rule of thumb.
2023-03-06 10:12:38 -03:00
Ivan Dyachkov d90e7d568e
Merge pull request #10064 from id/230303-chore-reenable-apps-version-check-release-50
230303 chore reenable apps version check release 50
2023-03-03 14:19:09 +00:00
Ivan Dyachkov c01f62a1c1 chore: bump apps versions 2023-03-03 13:58:32 +01:00
Ivan Dyachkov ea68a75725 chore: reenable scripts/apps-version-check.sh 2023-03-03 13:56:21 +01:00
Stefan Strigler 6cbabab35c
Merge pull request #10059 from sstrigler/EMQX-8740-e-5-0-optimize-the-api-to-return-error-messages
rule engine api format errors in a human readable way
2023-03-03 11:31:41 +01:00
Stefan Strigler 6ebd3dc747 feat(emqx_rule_engine): decompose error tuples
sqltester for instance returns sth like {"...sytnax error...", OrigSql}
2023-03-03 09:59:24 +01:00
Stefan Strigler 44eca1fa72 fix(emqx_rule_engine): don't crash if we can't encode json 2023-03-03 09:36:13 +01:00
Stefan Strigler 072d310507 style: fix zn translation 2023-03-03 09:32:28 +01:00
Stefan Strigler 64b5e9585e feat(emqx_rule_engine): API format errors in a human readable way 2023-03-02 16:49:11 +01:00
SergeTupchiy 806503e36e
Merge pull request #10054 from emqx/9031-handle-obfuscated-fields-in-bridges-probe
fix: Handle obfuscated fields in bridges_probe API
2023-03-02 14:49:53 +02:00
Zaiming (Stone) Shi 8ec8b9075e
Merge pull request #10057 from id/ci-build-slim-packages-for-release-branch
ci: build slim packages on push to release-50
2023-03-02 12:31:04 +01:00
Ivan Dyachkov 258329b9c7 ci: build slim packages on push to release-50 2023-03-02 11:57:38 +01:00
Zaiming (Stone) Shi 6679bfc49d
Merge pull request #10053 from id/chore-ensure-docker-latest-tag-release-50
Chore ensure docker latest tag release 50
2023-03-02 09:26:22 +01:00
Serge Tupchii 77dea0c77a fix: Handle obfuscated fields in bridges_probe API 2023-03-01 22:05:23 +02:00
Ivan Dyachkov 6be9967d2d chore: add a reminder to push the tags 2023-03-01 20:51:12 +01:00
Ivan Dyachkov 7a154e4d58 chore: docker-latest tag can be create automatically in cut.sh 2023-03-01 20:51:03 +01:00
Zaiming (Stone) Shi b04f7ecccf chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
Zaiming (Stone) Shi 0185c81f69 chore: bump opensource edition version to v5.0.19 2023-03-01 11:53:24 +01:00
Zaiming (Stone) Shi fdc0ad6669
Merge pull request #10044 from zmstone/0228-fix-node-info-format
fix(emqx_mgmt): format stoped nodes correctly
2023-03-01 11:39:09 +01:00
Zaiming (Stone) Shi c616192578
docs: Update changes/ce/fix-10044.zh.md
Co-authored-by: William Yang <mscame@gmail.com>
2023-03-01 09:39:16 +01:00
Zaiming (Stone) Shi f619f4ff77
Merge pull request #10045 from zmstone/0301-fix-flaky-test-emqx_pool_SUITE
test: stop apps in end_per_suite
2023-03-01 09:38:34 +01:00
Zaiming (Stone) Shi 2b06089250 test: stop apps in end_per_suite 2023-03-01 08:48:23 +01:00
Zaiming (Stone) Shi 8d63c6c08d
Merge pull request #10041 from zmstone/0228-add-influx-line-protocol-desc
0228 add influx line protocol desc
2023-03-01 08:44:26 +01:00
Zaiming (Stone) Shi 469071df00 fix(emqx_management): ensure binary string for log_path 2023-03-01 07:45:36 +01:00
Zaiming (Stone) Shi a64f712353
Merge pull request #10043 from zmstone/0228-fix-ssl-dist-optfile
0228 fix ssl dist optfile
2023-03-01 00:33:23 +01:00
Zaiming (Stone) Shi 23fb924e54 docs: add changelogs 2023-02-28 21:53:32 +01:00
Zaiming (Stone) Shi 41cb7263ca docs(influxdb): add a node to the write_syntax config 2023-02-28 21:53:32 +01:00
ieQu1 9ccd5ab611
Merge pull request #10042 from ieQu1/ekka-0.14.2
chore(ekka): Bump version to 0.14.2 (mria 0.3.3)
2023-02-28 21:46:24 +01:00
Zaiming (Stone) Shi a8d48bf571
docs: Update changes/ce/fix-10043.en.md
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2023-02-28 21:42:06 +01:00
Zaiming (Stone) Shi 8331c8fff0 docs: add changelogs 2023-02-28 21:40:48 +01:00
Zaiming (Stone) Shi d369e3167b fix(emqx_mgmt): format stoped nodes correctly 2023-02-28 21:38:30 +01:00
Zaiming (Stone) Shi 4bc63a6103 docs: add changelogs 2023-02-28 21:17:07 +01:00
Zaiming (Stone) Shi 8d00c003a9 test: fix test script 2023-02-28 21:06:17 +01:00
Zaiming (Stone) Shi f48d054986 fix(bin/emqx): ensure SSL_DIST_OPTFILE is set for non-boot command 2023-02-28 20:47:05 +01:00
ieQu1 1554305236
fix(changelog): Apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-02-28 20:29:34 +01:00
Zaiming (Stone) Shi f6cb5b607c fix(bin/emqx): do not check cookie when it's a boot command 2023-02-28 20:16:32 +01:00
ieQu1 f80c4e4084 chore(ekka): Bump version to 0.14.2 (mria 0.3.3) 2023-02-28 20:14:13 +01:00
Zaiming (Stone) Shi b3100ca8ae
Merge pull request #9956 from zmstone/0210-fix-bridge-status
0210 docs: fix bridge status
2023-02-28 19:44:07 +01:00
Zaiming (Stone) Shi 24f476e35f test: add README to influxdb test script 2023-02-28 19:38:43 +01:00