partisan icon indicating copy to clipboard operation
partisan copied to clipboard

Unexpected cluster member after calling leave

Open xinhaoyuan opened this issue 6 years ago • 2 comments

Hi,

When a node (say A) calls partisan_peer_service:leave(node()) to quit the cluster, previous gossip messages (containing A) from the cluster could reach after the restart of partisan_default_peer_service_manager server, and make A join the cluster unexpectedly.

Please see https://github.com/xinhaoyuan/morpheus-app-test/tree/master/partisan_test_repro_1 for demonstration.

xinhaoyuan avatar Jan 02 '19 03:01 xinhaoyuan

Have you tried the rename-backend branch? That's targeted for the next release and contains a bug fix for this. (Keep in mind, the API has been changed.)

cmeiklejohn avatar Jan 04 '19 00:01 cmeiklejohn

If you look at that branch at the leave test, I think that covers what you are referring to also.

cmeiklejohn avatar Jan 04 '19 00:01 cmeiklejohn

This is solved in v5.0.0-beta (and was potentially solved in v4 too as Chris mentions) so closing it.

aramallo avatar Nov 18 '22 00:11 aramallo