Export live_shards/2

Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/48e4e9df
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/48e4e9df
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/diff/48e4e9df

Branch: refs/heads/import
Commit: 48e4e9dfca52d4f8ed155f1fe737e381e6dd7959
Parents: 3b886b3
Author: Adam Kocoloski <a...@cloudant.com>
Authored: Tue Jun 5 13:52:32 2012 -0400
Committer: Adam Kocoloski <a...@cloudant.com>
Committed: Tue Jun 5 13:52:32 2012 -0400

----------------------------------------------------------------------
 src/mem3.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/48e4e9df/src/mem3.erl
----------------------------------------------------------------------
diff --git a/src/mem3.erl b/src/mem3.erl
index aad85e4..80283ae 100644
--- a/src/mem3.erl
+++ b/src/mem3.erl
@@ -20,6 +20,7 @@
 -export([sync_security/0, sync_security/1]).
 -export([compare_nodelists/0, compare_shards/1]).
 -export([quorum/1, group_by_proximity/1]).
+-export([live_shards/2]).
 
 -include("mem3.hrl").
 -include_lib("couch/include/couch_db.hrl").
@@ -232,4 +233,4 @@ group_by_range(Shards) ->
 quorum(#db{name=DbName}) ->
     quorum(DbName);
 quorum(DbName) ->
-    n(DbName) div 2 + 1.
\ No newline at end of file
+    n(DbName) div 2 + 1.

Reply via email to