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/08/01 11:11:54 UTC

[06/50] fabric commit: updated refs/heads/windsor-merge-121 to 79e6e2f

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 <ro...@cloudant.com>
Authored: Sat Aug 10 19:02:50 2013 +0100
Committer: Robert Newson <rn...@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).