Open SergeTupchiy opened 1 year ago
NOTE: please don't merge it, as it doesn't look absolutely worthwhile. The mentioned issues will be fixed in EMQX.
The main goal of this PR is to attract attention to the fact that RPC to core node may fail because the core node is not ready/down even though a nodedown
monitor message has been already received/processed by mria_membership
, but mria_lb
has not updated core nodes because it is doing it only periodically (not event driven).
lgtm
This fix should reduce the risk of delegating a write operation (RPC) to a down core node.
Relates to: EMQX-10703, emqx#11310