cets_dist_blocker (cets v0.3.1)
View SourceDisallow distributed erlang connections until cleaning is done.
This module prevents a node from reconnecting, until cleaning activity is finished. It prevents race conditions.
This module assumes all nodes share the same cookie.
Summary
Functions
-spec add_cleaner(pid()) -> ok.
Register CleanerPid as a cleaner.
Confirm that cleaning is done.
This function should be called by a cleaner when it receives nodedown and finishes cleaning.
Spawn dist_blocker