You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/09/12 10:55:52 UTC
fabric commit: updated refs/heads/master to d87ee0d
Repository: couchdb-fabric
Updated Branches:
refs/heads/master 88ff6d323 -> d87ee0db9
Don't receive foreign rexi replies
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/d87ee0db
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/d87ee0db
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/d87ee0db
Branch: refs/heads/master
Commit: d87ee0db917d091d11cd68fd35b7b2724ec03860
Parents: 88ff6d3
Author: Robert Newson <rn...@apache.org>
Authored: Fri Sep 12 09:55:38 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Sep 12 09:55:38 2014 +0100
----------------------------------------------------------------------
src/fabric_util.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/d87ee0db/src/fabric_util.erl
----------------------------------------------------------------------
diff --git a/src/fabric_util.erl b/src/fabric_util.erl
index d0b4ac9..f292621 100644
--- a/src/fabric_util.erl
+++ b/src/fabric_util.erl
@@ -184,7 +184,7 @@ get_shard([#shard{node = Node, name = Name} | Rest], Opts, Timeout, Factor) ->
{ok, Db};
{Ref, {ok, {unauthorized, _} = Error}} ->
throw(Error);
- _Else ->
+ {Ref, _Else} ->
get_shard(Rest, Opts, Timeout, Factor)
after Timeout ->
get_shard(Rest, Opts, Factor * Timeout, Factor)