Commit Graph

291 Commits

Author SHA1 Message Date
JianBo He 7862d75ee4 Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-05-25 16:59:04 +08:00
Shawn 6e7cbc1b9b chore: move epgsql deps to the top-level rebar.config 2022-05-24 09:33:17 +08:00
Shawn ca842aa869 fix: merge main-v4.3 to main-v4.4 2022-05-23 11:23:27 +08:00
Thales Macedo Garitezi 469d239140
chore(ekka): bump ekka -> 0.8.1.10
Improves autocluster resilience against split-brain during startup.

https://github.com/emqx/ekka/pull/158
2022-05-05 16:32:57 -03:00
Georgy Sychev 8385b3cca4 chore(eredis_cluster): bump eredis version to 0.7.2 2022-04-26 19:30:36 +04:00
JianBo He 703441c631 chore: update ehttpc to 0.2.0
In ehttpc v0.2.0, we have optimized the implementation for request collection
to reduce resource consumption. see: https://github.com/emqx/ehttpc/pull/31
2022-04-11 18:23:08 +08:00
JianBo He 6c39fd5696
Merge pull request #7544 from JimMoen/update-eredis-cluster
chore: update eredis_cluster version to 0.7.1
2022-04-08 11:50:07 +08:00
JimMoen 258ff284af chore: update eredis_cluster version to 0.7.1 2022-04-07 17:37:34 +08:00
William Yang cb6b20c720 feat: mnesia wait_for_table diagnosis logging
bump ekka to 0.8.1.9
2022-04-07 08:40:47 +02:00
JianBo He 43a000b7fd chore: add the otp vsn limitation 2022-04-06 10:43:27 +08:00
Zaiming (Stone) Shi d7ebd1040c chore: upgrade app lc from 0.2.0 to 0.2.1
0.2.1 contains a minior fix to avoid flag process getting
force killed if beam file force purged
2022-04-04 10:33:21 +02:00
EMQ-YangM 9d25c58bb1 fix: move mongodb-erlang to top level rebar.config 2022-04-02 16:54:48 +08:00
zhongwencool fa8a222b38 fix: force delete ehttpc pool. 2022-04-01 17:41:12 +08:00
William Yang 81ed61b001 feat: add load control app 2022-03-15 14:02:42 +01:00
Zaiming (Stone) Shi 52ff180e55 chore: pin esockd 5.8.5 2022-03-01 17:02:29 +01:00
Zaiming (Stone) Shi 12fbcc1330 chore: upgrade to ekka 0.8.1.8
print client status before killing due to holding lock for too long
2022-02-09 22:54:57 +01:00
lafirest deada0ea44 chore(appup): update appup file and esockd version 2022-01-18 16:26:01 +08:00
Zaiming (Stone) Shi d7b0e753da ci: skip dialyzer race_condition checks
backported from 5.0
race_condition check is very RAM demanding
2022-01-12 11:57:02 +01:00
zhouzb 49bfabc4dc chore(vsn): bump ehttpc and ekka version 2021-12-17 19:41:41 +08:00
zhouzb 63a6ac2f5f perf(http): bump ehttpc version 2021-12-09 15:26:41 +08:00
Thales Macedo Garitezi 3d308cf5a2
chore(ekka): bump ekka to 0.8.1.6
We're doing this to remove some missing change warnings when updating
emqx v4.3.10.  Ekka's appup was updated in emqx/ekka#140 .
2021-12-06 09:21:13 -03:00
Shawn 3b9bb1d66c fix(ecpool): update ecpool to 0.5.2 2021-11-24 18:57:23 +08:00
k32 b45296680d
Merge pull request #6221 from k32/ekka
chore(ekka): Bump version to 0.8.1.5
2021-11-18 12:28:31 +01:00
k32 5dc2e04e55 chore(ekka): Bump version to 0.8.1.5 2021-11-18 10:24:03 +01:00
Zaiming Shi 98136ff119 chore(ehttpc): pin 0.1.12 2021-11-10 14:41:37 +01:00
Shawn a406c4f470 fix(ekka): add timeout to rpc:multicall/4 2021-11-04 16:30:46 +08:00
Ilya Averyanov ba319e1159 fix(mnesia_acl): upgrade snabbkaffe and use ?check_trace 2021-10-27 09:58:21 +03:00
k32 b88674e876 chore(ekka): Bump version to 0.8.1.3
Fixes: #5367
2021-10-07 19:33:25 +02:00
zhanghongtong eeb44086c8 fix(issue): 5565 2021-09-06 10:49:20 +08:00
zhouzb a27b75b98e chore(ehttpc): update tag for ehttpc 2021-09-06 10:41:24 +08:00
Shawn fe343a0407 fix(ekka): kill the process if don't release lock 2021-09-03 10:50:12 +08:00
William Yang 94712064b5 chore: bump to ekka 0.8.1.1 2021-08-12 11:04:14 +08:00
Turtle efa71d12fe chore(minirest): Upgrade minirest version to 0.3.7 2021-08-05 14:19:53 +08:00
zhouzb 46e58a50d0 chore(ehttpc): update tag of ehttpc 2021-08-03 17:27:35 +08:00
tigercl fee3462603
fix(http pipelining): support to switch http pipelining (#5279) 2021-07-27 17:32:56 +08:00
Shawn 0184a1b3e8
fix(minirest): encode response message failed (#4965) 2021-06-11 09:56:11 +08:00
zhouzb 2769eb7751 fix(ehttpc): update ehttpc tag to fix bad log 2021-06-10 10:49:12 +08:00
Zaiming Shi b485c75266 fix: emqtt performance
emqtt 1.2.3.1 has the fix for big binary concatenation performance
2021-06-01 17:29:16 +08:00
Zaiming Shi f2262469cc build: pin gpb 4.11.2
gpb is only to compile protobuf,
it is not included in release tarball.
for some reason rebar3 fetches an unknown version without this pin
2021-05-27 19:38:51 +02:00
k32 812faf08a1 chore(logger): Update snabbkaffe to 0.13.0 2021-05-25 21:15:59 +02:00
Zaiming Shi e82e24d21f fix: pin cuttlefish v3.3.5
this cuttlefish release has only changes in a test module
2021-05-24 15:15:37 +02:00
zhouzb 09f51e51bd chore(update dep): update right tag for ehttpc 2021-05-14 19:27:04 +08:00
zhouzb c6771a57b6 chore(update dep): update dep of ehttpc 2021-05-14 19:27:04 +08:00
zhanghongtong 6595d53962 build(relup): update build script for support relup 2021-05-07 21:25:10 +02:00
Zaiming Shi 30c214d64b build: fix relup hook point name 2021-05-07 14:04:15 +02:00
z8674558 3c4e95a246 chore(rebar.config): cuttlefish 3.3.3 -> 3.3.4 2021-05-07 10:41:03 +00:00
wwhai 4facf4afe0 fix(deps): change ecpool to 0.5.1 2021-04-28 09:50:31 +08:00
k32 6d4da4a01a chore(snabbkaffe): Update version to 0.12.0 2021-04-26 14:20:52 +02:00
wwhai 92e8ba574c fix(deps): update ecpool to 0.5.2 2021-04-26 15:15:30 +08:00
Shawn ab5b4beffe fix(gen_rpc): the port discovery not working on a large offset 2021-04-25 13:58:33 +08: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
zhouzb 9bedd1bb4f chore(ehttpc): update tag of ehttpc 2021-04-15 21:47:20 +08:00
Zaiming Shi 0a092c8ba0 chore(build): pin ekka 0.8.1
wait mnesia table
2021-04-13 19:38:34 +02:00
zhanghongtong be36e51f6e feat(redis): redis sentinel support ssl connect 2021-04-13 14:42:08 +08:00
z8674558 d010830de8 chore(rebar.config): bump cuttlefish 2021-04-12 07:30:02 +00:00
Zaiming Shi 2a9a5e74d7 fix(bin/emqx): print cuttlefish error 2021-04-10 08:48:13 +00:00
Yudai Kiyofuji e3a5f65c88
feat(config): print override env (#4517) 2021-04-09 16:28:01 +02:00
Zaiming Shi d033d71982 chore(build): Pin snabbkaffe 0.10.0 2021-04-08 00:02:27 +02:00
z8674558 9db5452b6c refactor(emqx.schema): use override_env to support alternative env 2021-04-05 17:04:01 +09:00
z8674558 299d489ef9 refactor(bin/emqx): use cuttlefish `get` to get values from .conf 2021-04-02 08:42:58 +02:00
Zaiming Shi 236f75b33b chore(rebar.config): Snabbkaffee should be a default dependency 2021-03-30 10:08:13 +02:00
Karol Kaczmarek ac7d097f16 chore(deps): minirest 0.3.5 2021-03-20 15:21:31 +01:00
Zaiming Shi 8e45fa1c8b feat(observer_cli): Add observer_cli 2021-03-13 18:50:18 +01:00
Zaiming Shi 5f064a8e42 chore(test): enable cover only when necessary
So that ad-hoc ./rebar3 eunit and ct can run faster
2021-03-11 19:06:03 +01:00
Zaiming Shi 6fb5c9de42 chore(deps): upgrade replayq to version 0.3.2 2021-03-02 18:10:26 +01:00
Zaiming Shi dd06d70bce refactor(build): Move parse_transform module to root app
So we do not have to workaround the compile order issue
2021-03-02 08:40:19 +08:00
Zaiming Shi ddadece0b2 chore(build): include emqx version as compile info 2021-02-28 21:56:47 +01:00
Zaiming Shi c54636b6c2 chore(build): inject emqx_vsn to all modules as attribute 2021-02-26 22:26:19 +01:00
z8674558 74b7ea34d9 feat(bin): let cuttlefish read env var 2021-02-19 01:09:06 +09:00
JianBo He e3d19b03c5 chore(deps): upgrade cowboy to 2.8.2 2021-02-13 18:29:39 +08:00
JianBo He 52c747ca6b chore(cover): add coverall back 2021-02-04 14:22:17 +08:00
JianBo He 9d465ac81f chore(deps): upgrade replayq to 0.3.1 2021-01-28 16:24:42 +08:00
JianBo He 02cb8d0211 chore(style): set warnings_as_errors compile option 2021-01-27 18:02:12 +08:00
Zaiming Shi 17d70772a8 refactor(emqx_recon): Use latest version recon
Moved recon dependency from emqx_recon to root
2021-01-23 11:42:28 +01:00
JianBo He 7df1dea4db
perf(esockd): upgrade esockd to 5.8.0 (#4018)
To better support hot upgrades, in esockd 5.8.0 we
avoid saving anonymous functions in state.
2021-01-15 18:54:43 +08:00
Zaiming Shi 765e37ea26 fix(ekka): Upgrade to 0.8.0 to allow remsh
Before ekka 0.8.0, when epmd is not used, ekka_dist would calculate
a port number from node name. This does not work for remote consoles
because a remsh node name is like remsh81random0-<target-node>
i.e. the calculated port number is always the same as the target node.

The fix in 0.8.0 allows remsh prefixed nodes to use a range of
ports to listen.
2021-01-15 08:59:20 +01:00
ayodele.akingbule 50981a976d chore(minirest): dependency update 2020-12-25 07:42:01 +08:00
ayodele.akingbule 61d73ea530 chore(dialyzer): optimize dialyzer run 2020-12-23 11:33:02 +01:00
Zaiming Shi 0fe86341af chore(build): mod_vsn parse_transform is not for default profile
Since plugins are compile as default profile, the parse_transform
provided by relup_helper may not present when compiling other plugins
2020-12-16 14:29:03 +01:00
Zaiming Shi 59346a1103 chore(build): remove relup_helper untar post hook for now 2020-12-16 09:22:47 +01:00
Zaiming Shi 4fbc64d84e chore(release): Add OTP_VERSION file to release dir 2020-12-14 10:58:44 +01:00
Shawn 10dbb5bc96
Fix testcases warns (#3906) 2020-12-11 18:54:48 +08:00
Zaiming Shi 7bdd093ef5 Merge remote-tracking branch 'origin/dev/v4.3.0' into umbrella-fix-build 2020-12-11 08:55:57 +01:00
Zaiming Shi de233bc234 chore(build): Ensure etc dirs are copied to build dir 2020-12-11 08:19:26 +01:00
Zaiming Shi d4fb3f99fe chore(xref): Ignore xref checks for enterprise and generated modules
Schema registry is so far only used in enterprise edition.
Ignore xref for generated modules for protobuf
2020-12-11 08:19:26 +01:00
Zaiming Shi b2d3358368 chore(rebar): Move no_debug_info to per-profile config 2020-12-10 11:43:28 +01:00
Zaiming Shi 4cfe4e9940 fix(eqmx_sasl): Dialyzer warning 2020-12-10 11:22:38 +01:00
Zaiming Shi 8a86593cae fix(xref): Ignore xref for generated modules for protobuf 2020-12-10 09:24:19 +01:00
Zaiming Shi 75645950f9 chore(xref): Ignore xref checks for enterprise modules
Schema registry is so far only used in enterprise edition.
2020-12-10 09:24:10 +01:00
tigercl 83fc76586c
fix(ekka): update ekka version to fix oom (#3871) 2020-12-10 15:04:19 +08:00
JianBo He bc8ddb7213 chore(deps): update some deps version 2020-12-09 14:21:54 +08:00
Zaiming Shi 8fe889dd14 refactor(rebar.config): make use of rebar.config.erl 2020-12-06 23:38:14 +01:00
Zaiming Shi a6fde38d45 chore(bbmustache): upgrade to 0.10.0 as what rebar3 uses 2020-12-06 16:06:04 +01:00
Zaiming Shi 82c14c75e2 refactor(build): Delete _checkouts
The `_checkouts` directory was handy when we had to git clone
rebar dependencies in a release project and make changes inside

Now since this is an umbrella project, there is no reason to keep it
2020-12-05 19:48:44 +01:00
Zaiming Shi 036eda27f6 chore(rebar): Delete profiles from apps' rebar.config
otherwise rebar3 crashes
2020-12-05 13:36:56 +01:00
Zaiming Shi 0fb5fb31a5 refactor(proj) sync 4.3.0 plugins with tracked files 2020-12-05 02:43:04 +01:00
Zaiming Shi 73d02beace refactor(apps): Merge emqx_libs back to emqx
And move emqx app back to root level

After realising the challenges of developing plugins in standalone
rebar projects. it is perhaps more smooth to keep using emqx as
a rebar dependency
2020-12-04 19:58:58 +01:00
Zaiming Shi e236196fa6 refactor(emqx_auth_mnesia): use tag e4.2.2
Removed emqx_auth_clientid and emqx_auth_username
because the new version emqx_auth_mnesia has all the features included
2020-12-03 12:52:59 +01:00
Zaiming Shi dab57b0f0f chore(build): Update rebar3
This rebar3 puts a stamp to app build output dir
skips re-build if alreay built
2020-11-27 21:41:11 +01:00
Zaiming Shi 36c9360c04 refactor(build): Merge all plugins
Otherwise rebar runs in a dead-loop
2020-11-27 01:03:40 +01:00