Commit Graph

7347 Commits

Author SHA1 Message Date
Ivan Dyachkov b11b4a75e0 build: sync cross-build-packages with build-slim-packages 2022-09-20 17:27:39 +02:00
William Yang 49d1fb2b99
Merge pull request #9007 from qzhuyan/perf/william/tls-buffer-defaults-2
perf(TLS): set default sndbuf and recbuf to 4K
2022-09-20 08:57:10 +02:00
William Yang 97fb8c1133 perf(TLS): set default sndbuf and recbuf to 4K
Without using default values, sockets will be opened with OS default
buffer sizes. OS default is set by linux aligning to the host memory
size that large memory has larger OS default.

Now more and more user run EMQX in container which has large OS memory
but the container max memory is limited by cgroup that could be very
small amount compared to the OS total memory size.

To eliminate uncertainty, it is better to have the default value set.
2022-09-19 18:53:43 +02:00
William Yang 91dd2fc97f
Merge pull request #9005 from qzhuyan/perf/william/tls-hibernate-after-idling
perf(TLS): new TLS listener option to hibernate proc after idling
2022-09-19 18:47:21 +02:00
Thales Macedo Garitezi 485fb5d4f0
Merge pull request #8966 from thalesmg/coveralls-test-report
ci: enable running test cases and cover for main-v4.x
2022-09-19 10:11:32 -03:00
William Yang cdadc8ad44 chore: update appup src 2022-09-19 14:53:41 +02:00
William Yang fae590b957 docs(TLS): update change log 2022-09-19 14:53:38 +02:00
William Yang cb607f760a perf(TLS): hibernate TLS process after 5s 2022-09-19 14:53:36 +02:00
Zaiming (Stone) Shi 8b7726df4e
Merge pull request #8985 from zmstone/0915-sync-v4320-to-v43-trunk
0915 sync v4320 to v43 trunk
2022-09-18 11:10:45 +02:00
Zaiming (Stone) Shi e6603548d7 chore: generate appups after bumped new version 2022-09-17 18:50:28 +02:00
Zaiming (Stone) Shi 49d72d24b5 Merge remote-tracking branch 'origin/main-v4.3' into 0915-sync-v4320-to-v43-trunk 2022-09-17 15:34:35 +02:00
Zaiming (Stone) Shi bb2e6858b0 Merge tag 'v4.3.20' into main-v4.3 2022-09-17 14:52:03 +02:00
Thales Macedo Garitezi b7fe87d761 ci: enable running test cases and cover for main-v4.x
An attempt to make Coveralls bot to identify and report coverage
changes in `main-v4.{3,4}`-based PRs.

Currently, `master`-based PRs get their reports correctly.  When one
checks such a report, e.g.: https://coveralls.io/builds/52535695 , it
identifies if coverage increased or decreased relative to the base
branch.

`main-v4.x`-based PRs, however, always seem to report as "first
builds", so it doesn't report if coverage increased or
decreased. E.g.: https://coveralls.io/builds/52541065 .

The reason _could be_ that, currently, `main-v4.x` branches do not
build themselves.  That is, PRs run the test + cover analysis, as
usual, but once they're merged, tests (and thus coverage analysis) do
not run.  And that _could be_ why the tool can't see if coverage
increased or decreased with such PR.
2022-09-16 14:18:03 -03:00
Zaiming (Stone) Shi 2251ee715e Merge tag 'v4.3.20' into 0915-sync-v4320-to-v43-trunk 2022-09-16 13:40:55 +02:00
Zaiming (Stone) Shi 8893801910 chore: bump release version to v4.3.20 2022-09-16 13:33:17 +02:00
Zaiming (Stone) Shi ccc47719cd chore: bump Chart versions to 4.3.21 2022-09-16 12:58:02 +02:00
Zaiming (Stone) Shi a01d01ac19 chore: bump release version to 4.3.21 2022-09-16 12:57:20 +02:00
Zaiming (Stone) Shi bfb53b7f24 chore: bump app versions after merged tag v4.3.20 2022-09-16 12:56:51 +02:00
Zaiming (Stone) Shi 3c852098d7 Merge tag 'v4.3.20' into main-v4.3 2022-09-16 12:54:00 +02:00
Zaiming (Stone) Shi bf8e3c5061
Merge pull request #8984 from HJianBo/fix-jwt-error
chore: avoid generating crash logs for hook execution
2022-09-16 12:38:53 +02:00
Zaiming (Stone) Shi 135a9a30d9
Merge pull request #8976 from thalesmg/fix-flaky-mongo-test-43
test: avoid inter-suite flakiness
2022-09-16 12:35:32 +02:00
JianBo He 89ed4a350f chore: avoid generating crash logs for hook execution 2022-09-16 17:53:49 +08:00
Ivan Dyachkov f717cc9d81
Merge pull request #8983 from emqx/build-sign-macos-binaries
Build sign macos binaries
2022-09-16 11:01:26 +02:00
Zaiming (Stone) Shi 399b3f9cf9
Merge pull request #8980 from zhongwencool/fix-dashboard-bind
fix: add ip to dashboard listener_on
2022-09-16 10:52:53 +02:00
Ivan Dyachkov d02f483035 build: fix make clean 2022-09-16 10:22:08 +02:00
Ivan Dyachkov ed34108644 build: sign macos binaries 2022-09-16 10:21:56 +02:00
zhongwencool e4c2715842 fix: add ip to dashboard listener_on 2022-09-16 15:36:17 +08:00
Thales Macedo Garitezi 6204481d71 test: avoid inter-suite flakiness
This test runs most of the time fine in CI.  But, if run alone
locally, will fail consistently because the default `acl.conf` has a
catch-all `{allow, all}` clause.  Probably another suite that runs
before this in CI unloads that and everything seems fine.
2022-09-15 18:08:20 -03:00
Zaiming (Stone) Shi f2f14573d3
Merge pull request #8865 from qzhuyan/ci/william/add-xref-escript
Ci/william/add xref escript
2022-09-15 14:16:32 +02:00
Zaiming (Stone) Shi a90d289480 chore: update release version to v4.3.20-alpha.2 2022-09-15 09:35:48 +02:00
Zaiming (Stone) Shi 16d2d86d09
Merge pull request #8964 from emqx/0914-do-not-skip-relup-download
build: do not skip downloading relup base package
2022-09-15 09:34:38 +02:00
Zaiming (Stone) Shi 1ec8e1deed
Merge pull request #8939 from zmstone/0909-ci-add-chart-version-check
0909 ci add chart version check
2022-09-15 09:19:01 +02:00
Zaiming (Stone) Shi ab21801449 ci: exclude v4.3.13 for centos8 2022-09-15 09:07:20 +02:00
Zaiming (Stone) Shi 2fbb79f84f build: do not skip downloading relup base package
do not skip downloading only because of curl error
for known missing base packages, we should list them in the script
2022-09-15 09:07:20 +02:00
Thales Macedo Garitezi 0599393741
Merge pull request #8942 from thalesmg/fix-ignore-dialyzer-pt1-43
chore: fix ignored dialyzer warnings (part 1) (4.3)
2022-09-14 14:56:59 -03:00
Zaiming (Stone) Shi 05129bd919 refactor: rename check scripts to start with 'check-' 2022-09-14 19:32:02 +02:00
Zaiming (Stone) Shi 4ff34e3188 ci: ensure chart version is in sync with the release version 2022-09-14 19:32:02 +02:00
ieQu1 2990d16544
Merge pull request #8955 from ieQu1/prom-4-3-disable
fix(prometheus): Disable auth for prometheus endpoint
2022-09-14 09:29:37 +02:00
ieQu1 eee1869981 fix(prometheus): Disable auth for prometheus endpoint 2022-09-13 20:27:14 +02:00
Thales Macedo Garitezi 9a184642cf
Merge pull request #8938 from thalesmg/ci-dialyzer-check-43
ci: enable dialyzer checks (4.3)
2022-09-13 09:46:27 -03:00
Thales Macedo Garitezi 6fc7df9c54
Merge pull request #8894 from thalesmg/bugfix-will-msg-authn-43
test: add test case for not publishing will msg when not authorized
2022-09-13 09:46:14 -03:00
JianBo He 5592b1503d
Merge pull request #8908 from HJianBo/using-erlang-system-time
fix(time): replace os:system_time with erlang:system_time
2022-09-13 09:09:54 +08:00
Thales Macedo Garitezi fa6c22b366 chore: update appups 2022-09-12 10:56:35 -03:00
Thales Macedo Garitezi d72ca84af0 chore: fix ignored dialyzer warnings (part 1) (4.3) 2022-09-12 10:56:35 -03:00
Thales Macedo Garitezi 1f5103b390 test: add test case for not publishing will msg when not authorized 2022-09-12 09:04:54 -03:00
Zaiming (Stone) Shi b6f24b3ffe
Merge pull request #8940 from emqx/dev/v4.3.20
Merge dev/v4.3.20 back to main-v4.3
2022-09-12 09:32:42 +02:00
Zaiming (Stone) Shi 4597344881
Merge pull request #8941 from thalesmg/fix-appup-check-contains-re
ci(fix): fix check for appup coverage
2022-09-11 17:27:38 +02:00
Thales Macedo Garitezi 94afb633f8 chore: update missing appup instructions 2022-09-09 13:37:00 -03:00
Thales Macedo Garitezi 9e122f38b9 ci(fix): fix check for appup coverage
Before:

```elixir
iex(14)> :re.run('4.3.10', "4\\.3\\.[0-4]", [{:capture, :first, :list}])
{:match, ['4.3.1']}
```
2022-09-09 13:21:05 -03:00
Zaiming (Stone) Shi c463569d88 chore: bump versions in Chart 2022-09-09 17:10:39 +02:00