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:      | Stats].
  
  basic_stats(BucketName) ->
      basic_stats(BucketName, ns_bucket:live_bucket_nodes(BucketName)).
  
  handle_overview_stats(PoolId, Req) ->
      Names = lists:sort(menelaus_web_buckets:all_accessible_bucket_names(PoolId, Req)),
  