anchor.diff:      riak_core_vnode_master:get_vnode_pid(I, ?MODULE).
   
   init([Partition]) ->
  +	random:seed(now()),
       P = list_to_atom(integer_to_list(Partition)),
       CT = case application:get_env(metric_vnode, cache_points) of
                {ok, V} ->
  
positive.code:     BM = {Bucket, Metric},
      case ets:lookup(T, BM) of
  		%% If the data wo got is just before the cache we can prepend it.
          [{BM, _Start, End, V}]
            when (Time + Len) == _Start ->
              ets:update_element(T, BM,
                                 [{2, Time},
  								{3, End},
                                  {4, <<Value/binary, V/binary>>}]),
              State;
  		%% If the data is before the first package in the cache we just don't
  
negative.code: 		%% When the Delta of start time and this package is greater then the
  		%% cache time we flush the cache and start a new cache with a new
  		% package
          [{BM, Start, End, V}]
            when Time > End ->
              ets:delete(T, BM),
  			Jitter = random:uniform(20) - 10,
              ets:insert(T, {BM, Time, Time + CT + Jitter, Value}),
              do_write(Bucket, Metric, Start, V, State);
          [{BM, Start, _, V}] ->
              ets:update_element(T, BM,
  