anchor.diff:              format_mcd_pair(HostPort)
       end.
   
  +nodes_to_hosts(Nodes, Config) ->
  +    {list, lists:map(node_to_host(_, Config), Nodes)}.
  +
   maybe_get_pids_node(Pid) when is_pid(Pid) ->
       erlang:node(Pid);
   maybe_get_pids_node(_PerhapsBinary) ->
  
positive.code: 
  event_to_jsons({TS, rebalance_start, Pid, KeepNodes, EjectNodes, FailedNodes, DeltaNodes}) ->
      Config = ns_config:get(),
      [format_simple_plist_as_json([{type, rebalanceStart},
                                    {ts, misc:time_to_epoch_float(TS)},
                                    {pid, Pid}])
       ++ [{keepNodes, [node_to_host(N, Config) || N <- KeepNodes]},
           {ejectNodes, [node_to_host(N, Config) || N <- EjectNodes]},
           {failedNodes, [node_to_host(N, Config) || N <- FailedNodes]},
           {deltaNodes, [node_to_host(N, Config) || N <- DeltaNodes]}]];
  event_to_jsons({TS, rebalance_end, Pid, Reason}) ->
      [format_simple_plist_as_json([{type, rebalanceEnd},
                                    {ts, misc:time_to_epoch_float(TS)},
  
negative.code: %%
  -module(master_activity_events).
  
  -include("cut.hrl").
  -include("ns_common.hrl").
  
  -export([start_link_timestamper/0,
  