anchor.diff:                                           _ -> trunc_ts(TS, Step)
                                        end,
                                    resample(Tab, Step, TS, T, [], [], N)
  -                         end),
  +                         end, ?RETRIES),
       Result.
   
   
  
positive.code:                                  Avg ->
                                       mnesia:write(NextTab, Avg, write)
                               end
                       end).
  
  
  create_tables(Bucket) ->
  
negative.code:     gen_server:call({server(Bucket), Node}, {latest, Period, Bucket, N});
  latest(Period, Nodes, Bucket, N) when is_list(Nodes), is_list(Bucket) ->
      R = {Replies, _} = gen_server:multi_call(Nodes, server(Bucket),
                                               {latest, Period, Bucket, N},
                                               ?TIMEOUT),
      log_bad_responses(R),
      Replies.
  
  