anchor.diff:           allowed_node_quota_range_for_joined_nodes/0,
            this_node_memory_data/0]).
   
  -memory_quota(_Node) ->
  -    {value, RV} = ns_config:search(ns_config:get(), memory_quota),
  +memory_quota(Node) ->
  +    memory_quota(Node, ns_config:get()).
  +
  +memory_quota(_Node, Config) ->
  +    {value, RV} = ns_config:search(Config, memory_quota),
       RV.
   
   change_memory_quota(_Node, NewMemQuotaMB) when is_integer(NewMemQuotaMB) ->
  
positive.code:                     ]}],
      AllNodes = ordsets:intersection(lists:sort(ns_node_disco:nodes_actual_proper()),
                                      lists:sort(proplists:get_keys(NodeInfos))),
      AllBuckets = ns_bucket:get_buckets(),
      {BucketsRAMUsage, BucketsHDDUsage}
          = lists:foldl(fun ({Name, _}, {RAM, HDD}) ->
                                BasicStats = menelaus_stats:basic_stats(Name, AllNodes),
  
negative.code: %  {hdd, [[{path, /some/nice/disk/path}, {quotaMb, 1234}, {state, ok}],
  %         [{path", /another/good/disk/path}, {quotaMb, 5678}, {state, ok}]]}]
  %
  storage_conf(Node, Config) ->
      {value, PropList} = ns_config:search_node(Node, Config, memcached),
      HDDInfo = case proplists:get_value(dbdir, PropList) of
                    undefined -> [];
                    DBDir -> [{path, filename:absname(DBDir)},
  