anchor.diff:                 end || X <- Res]).
   
   bucket_ram_usage(BucketName) ->
  -    element(1, last_membase_sample(BucketName, ns_cluster_membership:active_nodes())).
  +    element(1, last_membase_sample(BucketName, ns_bucket:live_bucket_nodes(BucketName))).
   
   extract_stat(StatName, Sample) ->
       case orddict:find(StatName, Sample#stat_entry.values) of
  
positive.code:                                   end,
                      Replies = invoke_archiver(
                                  Bucket,
                                  ns_node_disco:nodes_actual_proper(),
                                  PeriodParams),
                      %% merge samples from other nodes
                      MergedSamples = lists:foldl(fun ({Node, _}, AccSamples) when Node =:= node() -> AccSamples;
  
negative.code: %% External API
  
  bucket_disk_usage(BucketName) ->
      bucket_disk_usage(BucketName, ns_bucket:live_bucket_nodes(BucketName)).
  
  bucket_disk_usage(BucketName, Nodes) ->
      {Res, _} = rpc:multicall(Nodes, ns_storage_conf, local_bucket_disk_usage, [BucketName], 1000),
  