Zaiming (Stone) Shi
41f13330ba
refactor: export EMQX_LOG_DIR
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
a1551213c8
test: EMQX_ETC_DIR for test is app's etc dir
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
e0dc5645ab
fix(config): always fill defautls for all roots
...
prior to this commit, if a root existed in config files
it skips populating default values in raw config,
this made impossible to add default values for authz sources.
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
5acf0e281e
refactor: delete default authz config from emqx.conf
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
7c5a9e0e20
refactor: move the env interpolation function to emqx_schema
...
also added test cases
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
b0f3a654ee
refactor: delete default listeners from default config
...
The new config overriding rule is very much confusing for
people who wants to persist listener config changes made from
dashboard
This commit moves the default values from default config file
to schema source code.
In order to support build-time cert path at runtime, there
is also a naive environment variable interplation feature added.
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
c58ffce75f
fix(hocon): pin 0.38.2 with the map type value converter fixed
2023-04-29 22:10:19 +02:00
Zaiming (Stone) Shi
aecb3237ae
Merge pull request #10554 from zmstone/release-e5.0.3-alpha.5
...
chore: bump to e5.0.3-alpha.5
2023-04-29 10:22:52 +02:00
Thales Macedo Garitezi
a19621e533
fix(webhook): treat `{shutdown, normal}` and `{closed, _}` async reply as retriable
...
Apparently, the async reply returned by ehttpc can be `{shutdown,
normal}` or `{closed, "The connection was lost."}`, in which case the
request should be retried.
```
Apr 28 17:40:41 emqx-0.int.thales bash[48880]: 17:40:41.803 [error] [id: "bridge:webhook:webhook", msg: :unrecoverable_error, reason: {:shutdown, :normal}]
Apr 28 18:36:37 emqx-0.int.thales bash[53368]: 18:36:37.605 [error] [id: "bridge:webhook:webhook", msg: :unrecoverable_error, reason: {:closed, 'The connection was lost.'}]
```
2023-04-28 18:07:32 -03:00
Zaiming (Stone) Shi
7a81b96be0
fix(emqx_conf_app): print init_load failure to standard_error
...
logger may not get the chance to spit out the logs before the vm
dies, no matter how long sleep is added before init:stop(1)
2023-04-28 22:23:30 +02:00
Zaiming (Stone) Shi
d3a26b45be
docs: update config note
2023-04-28 22:23:30 +02:00
JimMoen
edb39bfec1
Merge pull request #10539 from JimMoen/chore-odbc-driver-image
...
chore: add ms msodbcsql docker file base on emqx-enterprise
2023-04-28 14:37:50 +08:00
Zaiming (Stone) Shi
6e36139a17
chore: bump to e5.0.3-alpha.5
2023-04-27 22:56:34 +02:00
Zaiming (Stone) Shi
b58d3e8f94
Merge pull request #10529 from zmstone/0426-ensure-buffer-worker-monitors-cassandra-conn-pid
...
0426 ensure buffer worker monitors cassandra conn pid
2023-04-27 22:54:30 +02:00
Thales Macedo Garitezi
d7c4585232
Merge pull request #10548 from thalesmg/bump-ehttpc-048-v50
...
chore: bump ehttpc -> 0.4.8
2023-04-27 17:30:18 -03:00
Thales Macedo Garitezi
270fa5d19d
Merge pull request #10550 from thalesmg/fix-ocsp-disabled-r50
...
fix(ocsp): disable periodic refresh when listener or stapling are disabled
2023-04-27 17:22:44 -03:00
Thales Macedo Garitezi
928ca7d565
Merge pull request #10538 from thalesmg/rel-e503-alpha4
...
chore: bump release version to `e5.0.3-alpha.4`
2023-04-27 16:37:08 -03:00
Thales Macedo Garitezi
77f5e461a3
chore: bump ehttpc -> 0.4.8
...
Fixes https://emqx.atlassian.net/browse/EMQX-9656
See also https://github.com/emqx/ehttpc/pull/45
This fixes a race condition where the remote server would close the
connection before or during requests, and, depending on timing, an
`{error, normal}` response would be returned. In those cases, we
should just retry the request without using up "retry credits".
2023-04-27 14:10:37 -03:00
Thales Macedo Garitezi
d845c4807d
fix(ocsp): disable periodic refresh when listener or stapling are disabled
...
Fixes https://emqx.atlassian.net/browse/EMQX-9773
2023-04-27 14:02:55 -03:00
JimMoen
66155a8636
chore: add ms msodbcsql docker file base on emqx-enterprise
2023-04-27 20:48:01 +08:00
zhongwencool
13af891b04
Merge pull request #10541 from zhongwencool/unhide-data-dir
...
chore: change node.data_dir from hidden to low
2023-04-27 16:40:09 +08:00
Zhongwen Deng
e789e57b65
chore: change node.data_dir from hidden to low
2023-04-27 14:41:23 +08:00
zhongwencool
1f0148a819
Merge pull request #10524 from lafirest/fix/rocketmq_sensitive
...
fix(rocketmq): keep sensitive data safe in rocketmq logs and state
2023-04-27 10:16:05 +08:00
Thales Macedo Garitezi
7e24b35bb3
chore: bump release version to `e5.0.3-alpha.4`
2023-04-26 17:09:39 -03:00
Zaiming (Stone) Shi
6ab7f89c5e
Merge pull request #10537 from zmstone/0426-sqlserver-no-async-connector
...
0426 sqlserver no async connector
2023-04-26 21:32:36 +02:00
Zaiming (Stone) Shi
a8b000f062
refactor(sqlserver): support only sync mode at connector level
2023-04-26 20:44:56 +02:00
Zaiming (Stone) Shi
7967090de0
chore(emqx_dashboard): ignore everything in priv dir
2023-04-26 20:09:33 +02:00
Thales Macedo Garitezi
307d0814ff
Merge pull request #10533 from thalesmg/fix-late-reply-buf-worker-r50
...
fix(buffer_worker): avoid sending late reply messages to callers (r5.0)
2023-04-26 14:50:40 -03:00
Thales Macedo Garitezi
c53741a08c
fix(buffer_worker): avoid sending late reply messages to callers
...
Fixes https://emqx.atlassian.net/browse/EMQX-9635
During a sync call from process `A` to a buffer worker `B`, its call
to the underlying resource `C` can be very slow. In those cases, `A`
will receive a timeout response and expect no more messages from `B`
nor `C`. However, prior to this fix, if `B` is stuck in a long sync
call to `C` and then gets its response after `A` timed out, `B` would
still send the late response to `A`, polluting its mailbox.
2023-04-26 13:18:28 -03:00
Zaiming (Stone) Shi
c83d630c97
fix(cassandra): ensure async calls return connection pid
...
so the buffer worker can monitor it and perform retries
if the connection restarted
2023-04-26 14:33:37 +02:00
Zaiming (Stone) Shi
1c4f4037a5
test(ct/run.sh): remove the trailing / in app name
2023-04-26 13:41:42 +02:00
lafirest
9da5331ea5
Merge pull request #10523 from lafirest/fix/rmv_dynamo_async
...
fix(dynamo): remove all async callbacks of the Dynamo connector
2023-04-26 19:25:05 +08:00
firest
9eccfa5cdf
fix(dynamo): fix test case errors
2023-04-26 17:03:01 +08:00
firest
6706fd90e1
fix(rocketmq): keep sensitive data safe in rocketmq logs and state
2023-04-26 16:10:35 +08:00
firest
e467e082f0
fix(dynamo): remove all async callbacks of the Dynamo connector
2023-04-26 14:47:22 +08:00
Thales Macedo Garitezi
c4081f9211
Merge pull request #10516 from thalesmg/rel-e503-alpha3
...
chore: tag e5.0.3-alpha.3
2023-04-25 14:14:32 -03:00
Thales Macedo Garitezi
a703707803
chore: tag e5.0.3-alpha.3
2023-04-25 10:51:34 -03:00
Thales Macedo Garitezi
66c302064e
Merge pull request #10514 from thalesmg/unhide-ocsp-config-r50
...
chore: un-hide ocsp stapling config
2023-04-25 10:45:07 -03:00
Thales Macedo Garitezi
3138e2b3a1
chore: un-hide ocsp stapling config
...
Undoing https://github.com/emqx/emqx/pull/10160
2023-04-25 09:33:24 -03:00
lafirest
dc452deaf0
Merge pull request #10506 from lafirest/fix/dynamo_default_port
...
fix(dynamo): use correct default port for different schemas
2023-04-25 18:26:44 +08:00
lafirest
9a3b8f7c1b
Merge pull request #10508 from lafirest/fix/rocketmq_log
...
fix(rocketmq): fix that the update of ACL info not working
2023-04-25 18:25:50 +08:00
zhongwencool
1b30dca3d3
Merge pull request #10505 from zhongwencool/port-10484-to-release-50
...
feat: don't do rpc call to check deprecated file
2023-04-25 17:20:42 +08:00
firest
3bb50a5751
fix(rocketmq): fix that the update of ACL info not working
2023-04-25 16:55:03 +08:00
Zhongwen Deng
d6208d8847
test: add test for depreated config file
2023-04-25 14:47:05 +08:00
Zhongwen Deng
f84fc6f8b9
fix: can't update authentication when cluster-override.conf
2023-04-25 11:59:06 +08:00
firest
33c27ac2ac
fix(dynamo): use correct default port for different schemas
2023-04-25 10:50:44 +08:00
Zhongwen Deng
3f689d0fdf
feat: don't do rpc call to check deprecated file
2023-04-25 10:10:56 +08:00
zhongwencool
996d5eee45
Merge pull request #10493 from zhongwencool/remove-dashboard-default-username-conf
...
chore: remove dashboard's default username from emqx.conf
2023-04-25 09:45:30 +08:00
lafirest
0e96b5d01e
Merge pull request #10483 from lafirest/fix/resource_aovid_crash
...
fix(resource): make sure resource will not crash when stopping
2023-04-24 20:16:01 +08:00
lafirest
06cab0b8fd
Merge pull request #10494 from lafirest/fix/dynamo_status
...
fix(Dynamo): fix DynamoDB bridge status check error
2023-04-24 18:53:57 +08:00