anchor.diff:          })
       end,
       lists:foreach(FWrite, GroupsRegistryProcessesInfo).
  +
  +-spec handle_purged_registry_double_processes(
  +    RegistryConflictingProcessCallbackModule :: atom(),
  +    RegistryConflictingProcessCallbackFunction :: atom(),
  +    DoubleRegistryProcessesInfo :: list()
  +) -> ok.
  +handle_purged_registry_double_processes(undefined, _, DoubleRegistryProcessesInfo) ->
  +    F = fun({Key, LocalProcessPid, _LocalProcessMeta}) ->
  +        error_logger:warning_msg("Found a double process for ~s, killing it on local node ~p", [Key, node()]),
  +        exit(LocalProcessPid, kill)
  +        end,
  +    lists:foreach(F, DoubleRegistryProcessesInfo);
  +handle_purged_registry_double_processes(RegistryConflictingProcessCallbackModule, RegistryConflictingProcessCallbackFunction, DoubleRegistryProcessesInfo) ->
  +    F = fun({Key, LocalProcessPid, LocalProcessMeta}) ->
  +        spawn(
  +            fun() ->
  +                error_logger:warning_msg("Found a double process for ~s, about to trigger callback on local node ~p", [Key, node()]),
  +                RegistryConflictingProcessCallbackModule:RegistryConflictingProcessCallbackFunction(Key, LocalProcessPid, LocalProcessMeta)
  +            end)
  +        end,
  +    lists:foreach(F, DoubleRegistryProcessesInfo).
  
positive.code:     DoubleRegistryProcessesInfo = lists:foldl(F, [], RemoteRegistryProcessesInfo),
  
      %% send to syn_consistency gen_server to handle double processes once merging is done
      ?MODULE ! {purge_registry_double_processes, DoubleRegistryProcessesInfo},
  
      %% compute local processes without doubles
      LocalRegistryProcessesInfo1 = ets:tab2list(Tab),
  
negative.code:     %% ignore mnesia event
      {noreply, State};
  
  handle_info({handle_purgeg_registry_double_processes, DoubleRegistryProcessesInfo}, #state{
      registry_conflicting_process_callback_module = RegistryConflictingProcessCallbackModule,
      registry_conflicting_process_callback_function = RegistryConflictingProcessCallbackFunction
  } = State) ->
      error_logger:warning_msg("About to purge double processes after netsplit"),
      handle_purged_registry_double_processes(RegistryConflictingProcessCallbackModule, RegistryConflictingProcessCallbackFunction, DoubleRegistryProcessesInfo),
      {noreply, State};
  
  handle_info(Info, State) ->
  