Zaiming Shi
94c8add314
chore(config): default log.single_line=true
2021-05-06 11:03:02 +02:00
Zaiming Shi
4cff5c4dac
chore: fix config doc
2021-05-06 11:03:02 +02:00
Zaiming Shi
b8e271a588
chore: add more info in test log
2021-05-06 11:03:02 +02:00
Zaiming Shi
81da075b9b
chore(config): rename log.use_json_formatter to log.formatter
2021-05-06 11:03:02 +02:00
Zaiming Shi
6b0487d69d
feat(logger): merge metadata to log data
2021-05-06 11:03:02 +02:00
Zaiming Shi
79181072e2
feat(logger): add formatter emqx_logger_jsonfmt
2021-05-06 11:03:02 +02:00
Zaiming Shi
c4f070c9c6
feat: make log depth configurable
2021-05-06 11:03:02 +02:00
Zaiming Shi
92d3e16d43
perf(router): receive-mark optimise for short-lived transaction process
2021-05-05 11:00:00 +02:00
zhanghongtong
e44bd431b9
chore(CI): when uplpad release asset, distinguish between enterprise and opensource repos
2021-05-05 15:18:34 +08:00
Zaiming Shi
f8700e3f27
fix(emqx_packet): no crash if publish packet has no data
2021-05-04 13:48:35 +02:00
Zaiming Shi
bf4baf708a
fix(emqx_packet): list element index out of range
2021-05-04 09:24:54 +02:00
Zaiming Shi
0f30bdadbb
feat(logging): make supervisor progress configurable
...
by default, when primary log level is set to debug or info
application controller prints supervisor progress info.
this new config make use of logger's built-in filters
for progress report
2021-05-03 21:13:36 +02:00
William Yang
d6d2903a53
Merge pull request #4721 from qzhuyan/dev/william/add-dir-for-hot-patching
...
feat: add patches dir: data/patches
2021-04-30 22:09:38 +02:00
wwhai
a9b674c587
fix(deps): fix ee430 problem when remove resources
2021-04-30 06:41:37 -05:00
Zaiming Shi
171933301a
fix(dashboard): display full Erlang/OTP version
2021-04-30 12:26:59 +02:00
Zaiming Shi
05835f2fab
chore(dashboard): pin dashboard version v4.3.0
2021-04-30 12:26:59 +02:00
William Yang
a77aba5c74
feat: add patches dir: data/patches
...
add patch dir for convenient online patching.
2021-04-30 11:35:03 +02:00
JianBo He
01696ce595
chore(coap): use ~0p to print peername
2021-04-30 15:32:04 +08:00
Shawn
cb31d66bf2
Cache publishes before receiving the REGACK ( #4695 )
...
* refactor(emqx_sn): return new state from send_message
* fix(emqx_sn): send publish only after regack received
2021-04-30 15:31:34 +08:00
William Yang
3c103ae546
Merge pull request #4711 from qzhuyan/dev/william/fix-issue-2671-c2
...
Dev/william/fix issue 2671 c2
2021-04-29 11:20:36 +02:00
William Yang
e122ac5716
perf(broker): speedup trans when broker has a big mqueue
2021-04-29 08:52:42 +02:00
William Yang
e7fc75fdf2
perf(broker): Optimization for handling bursty traffic
...
intro. new lock type: 'spawn' of broker.perf.route_lock_type
mnesia get lock calls are not optimized for selective receive.
hence taking locks would be very expensive while there are tones of
messages in the brokers message queue.
This optimization run the transaction in a separate process to utilize
the selective receive optimization of the compiler.
2021-04-28 15:39:46 +02:00
Zaiming Shi
4bdcdfb9b9
chore(config): Add new configs to emqx.conf
2021-04-28 15:19:53 +02:00
wwhai
54dc75ed79
fix(deps): fix function clause at apply_new_config
2021-04-28 20:39:16 +08:00
Zaiming Shi
fbe15859f5
fix(emqx_rule_utils): http connectivity check ipv6 support
2021-04-28 10:43:36 +02:00
Zaiming Shi
078ca67268
test(emqx_auth_http): test ipv6 + hostname resolution
2021-04-28 10:43:36 +02:00
Zaiming Shi
29475eb610
feat(emqx_http_lib): try to parse host ip
2021-04-28 10:43:36 +02:00
Zaiming Shi
a37f47887a
fix(ipv6): add ipv6_probe socket option only when supported
...
ipv6_probe is a socket option supported in EMQ's otp.git fork.
If the target hostname has a ipv6 DNS resolution, gen_tcp
tries to establish a connection on ipv6.
If it fails, then a fallback to default gen_tcp:connection
2021-04-28 10:43:36 +02:00
zhouzb
d9c7c72612
feat(ipv6 probe): automatically probe whether it is IPv6
2021-04-28 10:43:36 +02:00
Zaiming Shi
b688bcfe74
feat(eqmx_misc): add an api to ensure ipv6_probe socket option
2021-04-28 10:43:36 +02:00
Zaiming Shi
e54433d342
feat(emqx_vm): add api to inspect which otp version running on
2021-04-28 10:43:36 +02:00
wwhai
4facf4afe0
fix(deps): change ecpool to 0.5.1
2021-04-28 09:50:31 +08:00
Zaiming Shi
cacb56a25c
build: pin erl23.2.7.2-emqx-1
2021-04-27 21:23:40 +02:00
JianBo He
7ae06590de
test(auth-mnesia): test the password_hash option
2021-04-27 21:10:33 +08:00
JianBo He
d5abfd0caa
fix(auth-mnesia): fix env name typos
2021-04-27 21:10:33 +08:00
wwhai
773b8eef2f
fix(deps): increase time sleep
2021-04-27 21:04:24 +08:00
Shawn
bea28d887c
fix(rule_engine): refresh rules and then re-enable it
2021-04-27 15:45:25 +08:00
Shawn
6557b132a2
fix(rule_engine): only refresh enabled rules at bootup
2021-04-27 11:17:12 +08:00
Shawn
7198c018e2
fix(rule_engine): change the rule state when force enabled/disabled
2021-04-27 11:17:12 +08:00
Shawn
18688da0c1
fix(rule_engine): only auto re-enable the rule when it was force disabled
2021-04-27 11:17:12 +08:00
Shawn
da81ab7988
fix(rule_engine): remove sleep before refresh rules
2021-04-27 11:17:12 +08:00
Shawn
e3501acc02
fix(rule_engine): delete resource crashes when dependent rule exists
2021-04-27 11:17:12 +08:00
Shawn
3646e76a7a
fix(rule_engine): re-enable rules after resource started
2021-04-27 11:17:12 +08:00
Shawn
9fd43ef882
fix(rule_engine): reformat some code for dependent rules discovery
2021-04-27 11:17:12 +08:00
Ertan Deniz
07d5c0f9df
feat(exhook): add ssl cert info to ClientInfo
2021-04-27 09:20:38 +08:00
k32
18ea764628
Merge pull request #4683 from k32/ignore-coverall-errors
...
chore(ci): Don't fail builds when coveralls is misbehaving
2021-04-26 14:58:45 +02:00
zhanghongtong
883614e8c3
chore(release): update emqx release version
2021-04-26 20:42:36 +08:00
Zaiming Shi
d926800204
chore: add emqx_broker_bench.erl
2021-04-26 14:40:39 +02:00
k32
5fe1e30ad9
chore(ci): Don't fail builds when coveralls is misbehaving
2021-04-26 14:27:22 +02:00
JianBo He
910449e67b
fix(exhook): allow certificate options absent
2021-04-26 20:27:17 +08:00