Commit Graph

16763 Commits

Author SHA1 Message Date
Kjell Winblad 59ed8798c3
Merge pull request #11026 from kjellwinblad/kjell/fix/rule_engine/div_mod_strange/EMQX-10216
fix: rule engine different behavior for div and mod
2023-06-17 07:20:37 +02:00
zhongwencool 4d24fd13a6
chore: update changes/ce/fix-11074.en.md
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2023-06-17 07:06:42 +08:00
Andrew Mayorov 13d9f5c3e7
Merge pull request #11053 from fix/EMQX-10231/cluster-view
fix(ft-fs): use `emqx:running_nodes()` as default cluster view
2023-06-17 00:54:24 +02:00
Thales Macedo Garitezi 50e7d5d2ec fix(nolink_apply): avoid sending late replies to caller
Due to race conditions, it's possible that the caller to `pmap`/`nolink_apply` might
receive a late reply.

e.g. when a timeout occurred while resource manager was checking a resource's health:

```
19:18:23.084 [error] [data: ..., event_data: {#Reference<0.3247872820.3887857670.131018>, {:normal, [false, true, true, true, true, true]}}, event_type: :info, msg: :ignore_all_other_events, state: :connected]
```

Using an alias and also checking for the race condition in the `after` block (like
[`gen`](a76bf63197/lib/stdlib/src/gen.erl (L270-L277))
does), we avoid polluting the caller's mailbox with late replies.
2023-06-16 17:03:39 -03:00
Thales Macedo Garitezi 8801ae9e5a
Merge pull request #11004 from paulozulato/fix-rewrite-wildcard
fix(rewrite): avoid wildcards on destination topic on publish
2023-06-16 09:57:46 -03:00
JianBo He b84623d640 fix(build): add libsasl2-modules-gssapi-mit as deps
Before this fix, the kerberos authentication in kafka will report the
following errors:

```
...
{{sasl_auth_error,{sass_nomech,<<"SASL(-4): no mechanism available: No worthy mechs found">>}},
```
2023-06-16 19:54:09 +08:00
JimMoen 178711f742
fix: shared-sub with nl sub-option should cause protocol error 2023-06-16 18:19:23 +08:00
zhongwencool 5f7e938b20
Merge pull request #11070 from JimMoen/use-mria-autoclean
fix: use mria.cluster_autoclean
2023-06-16 14:56:52 +08:00
lafirest 874305f565
Merge pull request #11069 from zhongwencool/validate-cert-depth
fix(emqx_schema): use non negative integer type for 'depth' SSL option
2023-06-16 14:41:25 +08:00
JimMoen c4e7129cb6
fix: use mria.cluster_autoclean and mria.cluster_autoheal 2023-06-16 14:04:24 +08:00
Serge Tupchii b49b80d36c fix(emqx_schema): use non negative integer type for 'depth' SSL option
Closes: EMQX-10276
2023-06-16 10:59:39 +08:00
Paulo Zulato b2f4dbd232
Merge pull request #11067 from paulozulato/chore-bump-influx
chore(influxdb): bump version for influxdb client
2023-06-15 20:16:28 -03:00
Paulo Zulato e127df3912 chore(influxdb): bump version for influxdb client 2023-06-15 17:53:08 -03:00
JianBo He 70624fabeb
Merge pull request #11064 from HJianBo/docker-build-with-extra-deps
build: fix the EXTRA_DEPS not working in workflows
2023-06-16 00:17:18 +08:00
JianBo He 5f9bd5e4c9
chore: update .github/workflows/build_and_push_docker_images.yaml
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2023-06-15 23:17:04 +08:00
Thales Macedo Garitezi da164c53db
Merge pull request #11054 from thalesmg/fix-dev-patches-master
ci(dev_script): fix patches vm.args path
2023-06-15 11:30:54 -03:00
JianBo He e38236eb05 build: fix the EXTRA_DEPS not working in workflows 2023-06-15 21:55:53 +08:00
zhongwencool 9b56f116f4
Merge pull request #11062 from zhongwencool/log-file-rename 2023-06-15 20:51:52 +08:00
zhongwencool 3406a5d916
Merge pull request #11063 from zhongwencool/bump-to-alpha.7
chore: bump to e5.1.0-alpha.7
2023-06-15 19:22:37 +08:00
zhongwencool db0a73430d
Merge pull request #11056 from zhongwencool/conf-post-update-failure-callback
feat: try to save config when post_config_update failed
2023-06-15 19:21:34 +08:00
zhongwencool fc1d78134a test: replace 'to' with 'path' 2023-06-15 19:13:51 +08:00
zhongwencool 9060a2dc05 chore: bump to e5.1.0-alpha.7 2023-06-15 19:05:13 +08:00
zhongwencool e6c2da8d19 feat: rename log.file.to to log.file.path 2023-06-15 18:24:21 +08:00
zhongwencool d075aff0ab
Merge pull request #11055 from zhongwencool/tls-gc-warning-log-0615
fix: tls_certfile_gc notice log don't print abspath
2023-06-15 17:51:14 +08:00
zhongwencool 9d9f0db516 chore: update 11056 changelog 2023-06-15 17:19:11 +08:00
zhongwencool 84a5d0c3c1 fix: delete a default listener then recreate it, it's disabled 2023-06-15 17:19:11 +08:00
zhongwencool 0adbb0deec feat: try to save config when post_config_update failed not in init mfa status 2023-06-15 17:19:11 +08:00
zhongwencool c160301dbe fix: don't log enoent error 2023-06-15 17:06:09 +08:00
zhongwencool 7dade3a52c fix: tls_certfile_gc notice log don't print abspath 2023-06-15 17:06:09 +08:00
zhongwencool 1a5684e35e
Merge pull request #11059 from JimMoen/fix-static-js-file-404
Fix static js file 404
2023-06-15 16:59:59 +08:00
SergeTupchiy c269079c31
Merge pull request #11051 from SergeTupchiy/EMQX-10276-validate-cert-depth
fix(emqx_schema): use non negative integer type for 'depth' SSL option
2023-06-15 11:59:09 +03:00
Serge Tupchii 64bbe21209 fix(emqx_schema): use non negative integer type for 'depth' SSL option
Closes: EMQX-10276
2023-06-15 11:22:58 +03:00
JimMoen 611fc6c53c
chore: rm unused hocon file 2023-06-15 16:10:16 +08:00
JimMoen 903d8d899e
fix: .js files are required by dashboard as static
revert parts of 8c1334c421
2023-06-15 16:10:16 +08:00
lafirest 17a1b8becf
Merge pull request #11057 from lafirest/bump_ecql_51
chore: bump ecql for obfuscate sensitive data to avoid leakage
2023-06-15 10:54:31 +08:00
firest 249ddee527 chore: update changes 2023-06-15 10:35:27 +08:00
firest c28346d67b chore: bump ecql for obfuscate sensitive data to avoid leakage 2023-06-15 10:35:18 +08:00
zhongwencool e42cc58694
Merge pull request #11050 from emqx/release-51
chore: sync release-51 back to master
2023-06-15 09:45:31 +08:00
Paulo Zulato 8c7c0877fd fix(rewrite): avoid wildcards on destination topic on publish
Fixes https://emqx.atlassian.net/browse/EMQX-9247
2023-06-14 20:02:03 -03:00
Andrew Mayorov 6dc281345c
test(ft-fs): run API tests with replicant nodes 2023-06-15 00:50:18 +03:00
Andrew Mayorov acd6e5635b
fix(ct): adapt cluster setup helper to replicant nodes
Before this change, trying to start cluster consisting of cores +
replicants resulted in error joining replicant node to the cluster.
2023-06-15 00:50:15 +03:00
Thales Macedo Garitezi 2ee1317ca0 ci(dev_script): fix patches vm.args path
Fixes the path to the patches directory so it works with `quickrun`.

Before fix:
```
iex(emqx@127.0.0.1)3> :init.get_arguments()
[
  # ...
  pa: ['"_build/dev-run/emqx/data/patches"'],
  # ...
]
```

After fix:
```
iex(emqx@127.0.0.1)1> :init.get_arguments()
[
  # ...
  pa: ['_build/dev-run/emqx/data/patches'],
  # ...
]
```
2023-06-14 16:55:12 -03:00
Andrew Mayorov 52354bf58a
fix(ft-fs): use `emqx:running_nodes()` as default cluster view
When iterating over complete exports cluster-wide.
2023-06-14 22:54:56 +03:00
Paulo Zulato 36d6350880
Merge pull request #11031 from paulozulato/fix-influx-wrong-username
fix(influxdb): check authentication
2023-06-14 14:41:50 -03:00
zhongwencool 41004e86da
Merge pull request #10959 from qzhuyan/dev/william/remove-depre-quic-config
chore: remove deprecated QUIC listener config
2023-06-14 23:01:00 +08:00
zhongwencool bd269e259e
Merge pull request #11047 from zhongwencool/dashboard-listeners-deprecate-enable
feat: deprecated dashboard.listeners.name.enable
2023-06-14 22:58:39 +08:00
SergeTupchiy 78c52c28c4
Merge pull request #11028 from id/0612-fix-incompatible-tls-options-and-version-gap
fix(tls): fix incompatible tls options and issue with tls version gap
2023-06-14 17:56:34 +03:00
Serge Tupchii 7882755114 chore: bump cowboy to 2.9.2
cowboy 2.9.2 uses ranch 1.8.1-emqx that fixes incompatible TLS options
2023-06-14 17:35:17 +03:00
Serge Tupchii 4425942030 fix(emqx_schema): move tls version gap validation to emqx_schema 2023-06-14 17:29:56 +03:00
Ivan Dyachkov 6d88cd7a20 fix(tls): fix incompatible tls options and issue with tls version gap 2023-06-14 17:29:56 +03:00