Commit Graph

13 Commits

Author SHA1 Message Date
DDDHuang
07f8a93af3 fix: update mgmt bpapi version 2022-07-01 16:43:42 +08:00
DDDHuang
6c9cad366b fix(api): client sub & unsub batch 2022-07-01 15:21:11 +08:00
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
2b73a80dba refactor: simplify updating the listener 2022-04-20 02:52:19 +08:00
Zhongwen Deng
aa7807baeb chore: reformat mgmt code. 2022-04-19 14:02:39 +08:00
Zhongwen Deng
5acf19a947 chore: add invite_node/2 bpapi 2022-04-11 15:32:49 +08:00
Zhongwen Deng
1664438b4f fix: dialyzer warning. 2022-04-08 09:47:06 +08:00
Zhongwen Deng
63d6682a7d feat: refactor api_listeners api 2022-04-08 09:47:06 +08:00
Zhongwen Deng
f195808691 fix: rpc call use emqx_bpapi behavior 2022-03-11 21:28:33 +08:00
k32
6940a41743 refactor(emqx_mgmt): Decorate get_full_config RPC 2022-01-19 13:25:50 +01:00
k32
4e9fb00a0e refactor(mgmt_trace): Decorate RPCs 2022-01-18 16:46:32 +01:00
k32
2ccf02cea9 refactor(emqx_mgmt): Decorate RPCs 2022-01-18 14:07:02 +01:00
k32
288f9254ba refactor(emqx_mgmt): Decorate RPCs 2022-01-14 15:41:10 +01:00