emqx / mria

Asynchronously replicated Mnesia-like database for Erlang/Elixir
https://www.emqx.com
Apache License 2.0
120 stars 23 forks source link

fix(autoheal): Heal multiple partitions #158

Closed ieQu1 closed 1 year ago

ieQu1 commented 1 year ago

What

OTP 25's changes in global made it easier to end up in multiple partitions. ref: https://www.erlang.org/doc/man/global.html#description

This PR enables auto-heal procedure in case the cluster is split to more than two parts.

release

Included in mria-0.6.1 ekka: https://github.com/emqx/ekka/tree/0.15.11 Included in EMQX v5.2.0