Commit Graph

534 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
2065be569e fix(emqx_cluster_rpc): fail fast on stale state
Due to:

* Cluster RPC MFA is not idempotent!
* There is a lack of rollback for callback's side-effects

For instance, when two nodes try to add a cluster-singleton
concurrently, one of them will have to wait for the table lock
then try to catch-up, then try to apply MFA.
The catch-up will have the singleton created, but the initiated
initiated multicall apply will fail causing the commit to rollback,
but not to 'undo' the singleton creation.
Later, the retries will fail indefinitely.
2022-06-12 20:18:48 +02:00
Zhongwen Deng
5e92ef54c5 fix: ct failed 2022-06-07 20:13:57 +08:00
Zhongwen Deng
dd873147b3 feat: make tcp/ssl options more straightforward 2022-06-07 17:17:06 +08:00
Zaiming (Stone) Shi
cd9811fe15
Merge pull request #8090 from zmstone/0531-fix-ensure-binary-from-size-format
fix: ensure bin-string returned from mgmt size format function
2022-05-31 14:09:31 +01:00
zhouzb
78adeea297
Merge pull request #8096 from zmstone/0531-fix-mac-mem-stat
fix(emqx_mgmt): return 0 for non-linux systems
2022-05-31 20:55:53 +08:00
Zaiming (Stone) Shi
a2db7226c9 fix(emqx_mgmt): return 0 for non-linux systems 2022-05-31 14:09:56 +02:00
Zhongwen Deng
6c9b959651 fix: ct failed 2022-05-31 19:20:27 +08:00
Zaiming (Stone) Shi
6062bc248d fix: ensure bin-string returned from mgmt size format function 2022-05-31 11:04:09 +02:00
Zaiming (Stone) Shi
eacd3847ed fix(emqx_mgmt): show used and total ram from lc 2022-05-27 14:04:30 +02:00
JianBo He
1867b86bad fix(mgmt): return null instead of "undefined" string 2022-05-12 19:26:14 +08:00
Zhongwen Deng
f0cb72dda6 fix: telemetry can't get active plugins list 2022-05-12 11:18:44 +08:00
zhongwencool
16b6c2f849
Merge pull request #7921 from zhongwencool/add-node-query-string-to-download-tracelog
feat: add node query_string to download logs for specific nodes
2022-05-12 10:26:47 +08:00
Zhongwen Deng
7c65d7159b feat: add node query_string to download logs for specific nodes 2022-05-11 23:19:06 +08:00
firest
c9227703fc fix(listener): when update listener conf, should override limiter config not merge 2022-05-11 14:00:54 +08:00
zhongwencool
0924c7dc13
Merge pull request #7902 from DDDHuang/ddd_fix
fix: node info, log path only path
2022-05-10 21:47:26 +08:00
DDDHuang
76102714aa fix: node info, log path only path 2022-05-10 18:00:09 +08:00
Zhongwen Deng
e6e66b032e fix: mgmt_cli_SUITE ct failed 2022-05-10 09:38:48 +08:00
Zhongwen Deng
2371604589 fix: infinity means never expire 2022-05-09 14:43:37 +08:00
JianBo He
8db8598622 fix(mgmt): fix test case crash 2022-05-07 10:16:58 +08:00
JianBo He
2ef118ce4c chore(fmt): format management 2022-05-07 10:16:58 +08:00
lafirest
495ef7f301
Merge pull request #7879 from lafirest/fix/listener_with_limiter
fix(listeners): add limiter info into the listener config
2022-05-06 20:34:57 +08:00
firest
acba1626f6 fix(mgmt): change the argument position of limiter APIs 2022-05-06 16:37:53 +08:00
firest
b394d18852 fix(listeners): add limiter info into the listener config 2022-05-06 13:33:03 +08:00
JianBo He
ae2c150384
Merge pull request #7593 from EMQ-YangM/improve_mgmt_cli_cover
draft: improve emqx_mgmt_cli test coverage
2022-05-06 09:10:10 +08:00
lafirest
97e778e797
Merge pull request #7868 from lafirest/feat/limiter_api
feat(limiter): add limiter view/update api
2022-05-05 19:08:47 +08:00
firest
f2e7563b0c feat(limiter): add limiter view/update api 2022-05-05 13:08:33 +08:00
JianBo He
7813f402c6 feat(api-clients): return client mountpoint property 2022-05-03 16:52:38 +08:00
Zhongwen Deng
cf9a853069 fix: delete duplicate clientid/username 2022-04-29 16:33:49 +08:00
Zhongwen Deng
bfdd86b3fd fix: reset config not work in cluster 2022-04-29 11:45:22 +08:00
Zhongwen Deng
352984efe7 fix: dashboard https without deafult pem/keyfile 2022-04-29 11:45:22 +08:00
Zhongwen Deng
35d066e3d5 fix: delete plugin from configure when uninstall 2022-04-29 00:55:21 +08:00
zhongwencool
bd2abd9ce0
Merge pull request #7810 from zhongwencool/bad-plugin-file-500-crash
fix: bad plugin file upload crash
2022-04-28 16:14:32 +08:00
Zhongwen Deng
e8cead48b2 fix: bad plugin file crash 2022-04-28 14:26:25 +08:00
Zhongwen Deng
2c95fba4df fix: api_listener min TLS ct fail 2022-04-28 10:11:38 +08:00
zhongwencool
6825aa66fc
Merge pull request #7780 from zhongwencool/log-bug-fix
fix: make logger config more friendly 🤖
2022-04-27 19:42:20 +08:00
DDDHuang
c4416fb2ff
Merge pull request #7773 from DDDHuang/app-exp
feat: app api support show expired
2022-04-27 17:01:22 +08:00
Zhongwen Deng
55be66a5eb feat: add self node to /cluster 2022-04-27 13:55:42 +08:00
firest
d9c3cf5c97 fix(mgmt): add subscribe options in client subscribe API 2022-04-27 12:52:52 +08:00
firest
8d01e8a697 fix(mgmt): add subscribe options into the result of the client subscriptions API 2022-04-27 12:52:52 +08:00
firest
6b84016259 fix(mgmt): add subscribe options into the result of the /subscriptions API 2022-04-27 12:52:52 +08:00
DDDHuang
0d335456a9 feat: app api support show expired 2022-04-27 11:15:14 +08:00
Xinyu Liu
a9c6f93b48
Merge pull request #7772 from DDDHuang/dash_format
chore: dashboard code format
2022-04-27 10:33:44 +08:00
Zaiming (Stone) Shi
bf3acaaaee
Merge pull request #7760 from zmstone/0425-5.0-improve-app-secret-randmisation
fix(emqx_mgmt_auth): better randomisation of app secrets
2022-04-26 11:37:35 +01:00
DDDHuang
07444e3da5 chore: dashboard format code 2022-04-26 17:18:30 +08:00
Zaiming (Stone) Shi
5ecc427dce fix(emqx_mgmt_auth): better randomisation of app secrets
change from timestamp seeded hash (uuid) to crypto:strong_rand_bytes
2022-04-25 17:53:33 +02:00
DDDHuang
40560230db fix: create banned & dashboard default user name 2022-04-25 18:27:24 +08:00
JimMoen
e9843aa225 fix(doc): html line break use </br> 2022-04-24 18:56:21 +08:00
Zhongwen Deng
38215f73fc fix: rate limiter schema check crash and return 500 2022-04-24 11:59:08 +08:00
Zhongwen Deng
2a25767112 fix: trace ct failed 2022-04-24 11:12:40 +08:00
Zhongwen Deng
5223c3ee61 feat: obfuscate sensitive values default_password 2022-04-24 09:41:29 +08:00