anchor.diff:  leaving({exit, _Pid}, LeaveData) ->
       error_logger:info_msg("ns_cluster: leaving cluster~n"),
       timer:sleep(1000),
  +    ns_mnesia:start(),
       {ok, running, State} = bringup(),
       case LeaveData#leaving_state.callback of
           F when is_function(F) -> F();
  
positive.code:     process_flag(trap_exit, true),
      ok = net_kernel:monitor_nodes(true,
                                    [{node_type, all}, nodedown_reason]),
      bringup().
  
  %% Bringup services.
  
negative.code: 
  -behaviour(gen_fsm).
  
  -include("ns_common.hrl").
  
  %% General FSMness
  -export([start_link/0, init/1, handle_info/3,
           handle_event/3, handle_sync_event/4,
  