Open
Description
- tested on 1.1.8
When multiple nodes try to leave the cluster at once (e.g. when trying to stop all nodes in a unit test), it can happen that the master leaves and another node also tries to leave at almost the same time. When the old master process has already terminated, but no new master has been elected yet, a call to ra:leave_and_delete_server
on the local node can return {error, noproc}
.
IMHO it should be {error,cluster_change_not_permitted}
as long as there is at least one node (e.g. the local node) left in the cluster.
Metadata
Metadata
Assignees
Labels
No labels