anchor.diff:                    lists:usort([Node | X])
             end,
       ns_config:update_key(nodes_wanted, Fun),
  +    ns_config:set({node, Node, membership}, inactiveAdded),
       ns_mnesia:add_node(Node),
       error_logger:info_msg("~p:add_node: successfully added ~p to cluster.~n",
                             [?MODULE, Node]).
  
positive.code: %%
  
  running({join, RemoteNode, NewCookie}, State) ->
      ns_log:log(?MODULE, 0002, "Node ~p is joining cluster via node ~p.", [node(), RemoteNode]),
      BlackSpot = make_ref(),
      MyNode = node(),
      ns_config:update(fun ({directory,_} = X) -> X;
  
negative.code:                      end, BlackSpot),
      %% cannot force low timestamp with ns_config update, so we set it separately
      ns_config:set_initial(nodes_wanted, [node(), RemoteNode]),
      error_logger:info_msg("pre-join cleaned config is:~n~p~n",
                            [ns_config:get()]),
      true = exit(State#running_state.child, shutdown), % Pull the rug out from
                                                        % under the app
      {next_state, joining, #joining_state{remote=RemoteNode, cookie=NewCookie}};
  
  running({leave, Data}, State) ->
  