anchor.diff:  handoff_finished(_TargetNode, State) ->
       {ok, State}.
   
  -handle_handoff_data(Data, State = #state{io = IO}) ->
  +handle_handoff_data(Data, State) ->
       {{Bucket, {Metric, T}}, Bin} = binary_to_term(Data),
  -    metric_io:write(IO, Bucket, Metric, T, Bin, 2),
  +    do_put(Bucket, Metric, T, Bin, State, 2),
       {reply, ok, State}.
   
   encode_handoff_item(Key, Value) ->
  
positive.code:     metric_io:close(IO),
      ok.
  
  do_put(Bucket, Metric, Time, Value, State = #state{tbl = T, ct = CT, io = IO}) ->
      Len = mmath_bin:length(Value),
      BM = {Bucket, Metric},
      case ets:lookup(T, BM) of
  
negative.code:         %% If we don't have a cache but our data is too big for the
          %% cache we happiely write it directly
          [] ->
              metric_io:write(IO, Bucket, Metric, Time, Value, Sync)
      end.
  
  
  