anchor.diff:                   end, ExtraStats)
           ++ orddict:to_list(Dict).
   
  -build_buckets_stats_ops_response(_PoolId, [BucketName], Params) ->
  -    {Samples, ClientTStamp, Step, TotalNumber} = grab_op_stats(BucketName, Params),
  +build_buckets_stats_ops_response(_PoolId, Nodes, [BucketName], Params) ->
  +    {Samples, ClientTStamp, Step, TotalNumber} = grab_op_stats(BucketName, Nodes, Params),
       PropList2 = samples_to_proplists(Samples),
       OpPropList0 = [{samples, {struct, PropList2}},
                      {samplesCount, TotalNumber},
  
positive.code:                   end, []).
  
  
  grab_op_stats(Bucket, Params) ->
      ClientTStamp = case proplists:get_value("haveTStamp", Params) of
                         undefined -> undefined;
                         X -> try list_to_integer(X) of
  
negative.code:                                       [] -> Samples;
                                        _ -> lists:reverse(CutSamples)
                                    end,
                      OtherNodes = case Nodes of
                                       all -> ns_bucket:live_bucket_nodes(Bucket);
                                       [_] -> []
                                   end,
                      Replies = invoke_archiver(
                                  Bucket,
                                  OtherNodes,
                                  PeriodParams),
                      %% merge samples from other nodes
                      MergedSamples = lists:foldl(fun ({Node, _}, AccSamples) when Node =:= node() -> AccSamples;
  