Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix ns_bucket:live_bucket_nodes/1

It was returning lists of true.

Change-Id: I1c0cc003c47154a7271433b06bc52f3caf325f17
Reviewed-on: http://review.northscale.com/3193
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information...
commit 7974382b4391d5971f20ed42e58ea747182dc36c 1 parent 209592f
@seanlynch seanlynch authored alk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ns_bucket.erl
View
2  src/ns_bucket.erl
@@ -150,7 +150,7 @@ live_bucket_nodes(Bucket) ->
{ok, BucketConfig} = get_bucket(Bucket),
Servers = proplists:get_value(servers, BucketConfig),
LiveNodes = [node()|nodes()],
- [lists:member(Node, LiveNodes) || Node <- Servers].
+ [Node || Node <- Servers, lists:member(Node, LiveNodes) ].
%% returns cluster-wide ram_quota. For memcached buckets it's
%% ram_quota field times number of servers
Please sign in to comment.
Something went wrong with that request. Please try again.