couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [06/50] fabric commit: updated refs/heads/windsor-merge-121 to 79e6e2f
Date Fri, 01 Aug 2014 09:11:54 GMT
Fix fencepost error


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/1f918692
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/1f918692
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/1f918692

Branch: refs/heads/windsor-merge-121
Commit: 1f918692c01521ef7d2fffcaa338004b0c80d63c
Parents: 6120920
Author: Robert Newson <robert.newson@cloudant.com>
Authored: Sat Aug 10 19:02:50 2013 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Jul 31 10:52:01 2014 +0100

----------------------------------------------------------------------
 src/fabric_rpc.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/1f918692/src/fabric_rpc.erl
----------------------------------------------------------------------
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl
index 870ac57..81b747b 100644
--- a/src/fabric_rpc.erl
+++ b/src/fabric_rpc.erl
@@ -389,7 +389,7 @@ owner(Node, Seq, Epochs) ->
 owner(_Node, _Seq, [], _HighSeq) ->
     false;
 owner(Node, Seq, [{EpochNode, EpochSeq} | _Rest], HighSeq)
-  when Node =:= EpochNode andalso Seq < HighSeq andalso Seq >= EpochSeq ->
+  when Node =:= EpochNode andalso Seq < HighSeq andalso Seq > EpochSeq ->
     true;
 owner(Node, Seq, [{_EpochNode, EpochSeq} | Rest], _HighSeq) ->
     owner(Node, Seq, Rest, EpochSeq).


Mime
View raw message