ekka 0.15.0 uses mria 0.5.0, which adds several fixes, enhancements and features:
- protect `mria:join/1,2` with a global lock
- implement new function `mria:sync_transaction/4,3,2`, which waits for
a transaction replication to be ready on the local node
(if the local node is a replicant)
- optimize `mria:running_nodes/0`
- optimize `mria:ro_transaction/2` when called on a replicant node.
Fixes: EMQX-9588 (#10380), EMQX-9102, EMQX-9152, EMQX-9213
744 B
744 B
Add several fixes, enhancements and features in Mria:
- protect
mria:join/1,2with a global lock to prevent conflicts between two nodes trying to join each other simultaneously Mria PR - implement new function
mria:sync_transaction/4,3,2, which blocks the caller until a transaction is imported to the local node (if the local node is a replicant, otherwise, it behaves exactly the same asmria:transaction/3,2) Mria PR - optimize
mria:running_nodes/0Mria PR - optimize
mria:ro_transaction/2when called on a replicant node Mria PR.