Commit Graph

5409 Commits

Author SHA1 Message Date
Zaiming Shi
cdacaf8694 perf(emqx_trie): use ordered_set 2021-04-26 14:18:40 +02:00
Zaiming Shi
b1df759adc refactor(emqx_trie): rename internal function to match_# 2021-04-26 14:18:40 +02:00
Zaiming Shi
8d55d425dc chore(emqx_trie): add test case to cover multiple levels of + wildcards 2021-04-26 14:18:40 +02:00
Zaiming Shi
eb946eb80c fix(emqx_trie): do not try to match wildcard topics 2021-04-26 14:18:40 +02:00
Zaiming Shi
22e72cdd82 refactor(emqx_trie): rename record from eqmx_topic to emqx_trie 2021-04-26 14:18:40 +02:00
Zaiming Shi
bc6a87946c refactor(emqx_trie): store only prefixes
This commit refactors emqx_trie implementation
with mainly two changes

1. Deleted the edge table.

   In the old implementation, trie consist of nodes and edges.
   e.g. for topic 'a/b/+/d', node 'a' with edge 'b'
   points to node 'a/b' and so on.

   However, edges can be computed at runtime,
   so there is no need to store them in a table.
2021-04-26 14:18:40 +02:00
Zaiming Shi
7128bc9e6e chore(emqx_app): do not print 'starting' log when test 2021-04-26 14:18:40 +02:00
Zaiming Shi
b97b36d077 test(emqx_coap): publish to non-wildcard topic 2021-04-26 14:18:40 +02:00
Zaiming Shi
5569c86319 docs(emqx_trie): no doc for internal functions 2021-04-26 14:18:40 +02:00
Zaiming Shi
6be28cecab chore(logging): default to multi-line logging 2021-04-26 11:11:27 +02:00
Zaiming Shi
4bc349b596 chore: move docker env var from Dockerfile to entrypoints 2021-04-26 11:08:23 +02:00
Zaiming Shi
6c403061db chore(docker): manual port setting for gen_rpc when start in docker 2021-04-26 15:38:56 +08:00
DDDHuang
29592fe1b4
Fix rule engine build fail (#4673)
* fix: add rule engine resources time
2021-04-26 15:32:54 +08:00
wwhai
92e8ba574c fix(deps): update ecpool to 0.5.2 2021-04-26 15:15:30 +08:00
William Yang
907502fed0
Merge pull request #4645 from qzhuyan/dev/william/fix-issue-2985-c3
fix: issue 2985 attempt 3
2021-04-25 12:39:52 +02:00
Zaiming Shi
708420eb97 fix(emqx_connection): log true stacktrace 2021-04-25 12:01:05 +02:00
Shawn
ab5b4beffe fix(gen_rpc): the port discovery not working on a large offset 2021-04-25 13:58:33 +08:00
Shawn
dc95c1476a fix(emqx_sn): willmsgs not sent 2021-04-25 09:45:16 +08:00
zhanghongtong
5154a00252 chore(CI): fix packages version error for windows 2021-04-24 15:10:34 +02:00
Zaiming Shi
d61b100cc9 chore: more copyright updates 2021-04-23 20:43:00 +02:00
Zaiming Shi
2e6ad828a0 chore: remove copyright and license Erlang macros 2021-04-23 20:43:00 +02:00
Zaiming Shi
6354e75626 chore: update copyrights 2021-04-23 20:43:00 +02:00
Zaiming Shi
87a653470e fix(logging): log sasl to tty when console or foreground 2021-04-23 17:12:02 +02:00
Zaiming Shi
24a535a7f7 chore(build): pin Erlang/OTP 23.2.7.1-emqx-1 2021-04-23 17:12:02 +02:00
William Yang
9b13bab2c9 perf: new perf toggle broker.perf.route_lock_type 2021-04-23 13:51:42 +02:00
Zaiming Shi
c81df7278f test(trace): split test case 2021-04-23 06:54:10 +02:00
Zaiming Shi
3547dc4c93 fix(log): client id as string for log metadata
so it does not print <<"...">> to the logs
2021-04-23 06:54:10 +02:00
Zaiming Shi
fd69969014 refactor(logging): Log to single line 2021-04-23 06:54:10 +02:00
DDDHuang
4178e1a023 fix: disable rule if build fail 2021-04-22 14:46:28 +08:00
Shawn
19a9bab3a4 feat(rule_engine): add rule sql functions for datetime rfc3339 2021-04-22 10:32:44 +08:00
William Yang
0166bb5a87 fix: broker call should not timeout before client timeout
So change broker call timeout to infinity.
2021-04-21 18:59:46 +02:00
William Yang
17870fdb39 perf(router): add route runs in async dirty context 2021-04-21 18:59:46 +02:00
William Yang
3972a6b435 perf(trie): use global lock
Use global lock to reduce remote lock overhead.

So that emqx route trans can run in dirty *sync* context.

At least 10X subscribe/unsubscribe improvments.
2021-04-21 18:59:24 +02:00
wwhai
73e563c883 test(mgmt): remove macro switch 2021-04-21 09:35:04 +08:00
zhanghongtong
84ee523145 chore(fvt test): waiting emqx cluster 2021-04-21 09:30:13 +08:00
Zaiming Shi
2ffa71abde test(emqx_bridge_mqtt): fix race condition 2021-04-20 23:17:39 +02:00
Zaiming Shi
186dfd04a7 test(webhook): ignore messages from other clients 2021-04-20 18:29:50 +02:00
Zaiming Shi
e59eacb891 test(webhook): test ipv6 for real 2021-04-20 08:13:23 +02:00
JianBo He
1f258a0499 test(proper): fix cant_generate error 2021-04-19 22:03:51 +02:00
zhanghongtong
daa3d70ec3 chore(tests): delete enterprise json file 2021-04-19 19:07:49 +08:00
zhanghongtong
48b0cc37ed chore(docker compose): update emqx cluster compose file 2021-04-19 18:19:53 +08:00
Zaiming Shi
ad630f49ef fix(telemetry): wait for emqx to start before sending first report 2021-04-19 09:15:28 +02:00
Zaiming Shi
97f2e5d544 test(auth_http): test unset acl_req app env 2021-04-19 08:39:26 +02:00
Zaiming Shi
8eed34c939 chore(auth_http): fix typo 2021-04-19 08:39:26 +02:00
Zaiming Shi
e02eb5f939 docs(auth_http): Update config doc 2021-04-19 08:39:26 +02:00
Zaiming Shi
dad7d9c597 fix(config): pin cuttlefish 3.3.3
to be backward compatible to 4.2.x
cuttlefish 3.3.3 includes a fix to handle empty string
environment variable translated to 'undefined', but not `""`
2021-04-19 08:39:26 +02:00
Zaiming Shi
5c49d5e49d chore(build): Pin Erlang/OTP 23.2.7.1-emqx-1 2021-04-17 22:15:34 +02:00
Karol Kaczmarek
7ba255a301 fix: ws proxy port config 2021-04-17 19:58:50 +02:00
Swilder-M
fe08033385 chore(README-RU): change twitter url and icon 2021-04-17 05:54:11 +02:00
k32
d939cdebde
Merge pull request #4607 from k32/readme-ru
Add README-RU
2021-04-16 18:59:46 +02:00