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/28 14:22:24 UTC
[04/50] mem3 commit: updated refs/heads/master to 64c0c74
If two shards differ we need to sync
There's no security if two shards return different answers but it gives
us enough of a signal to know that we need to trigger a full on
synchronization.
BugzId: 18955
Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/a0d74306
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/a0d74306
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/diff/a0d74306
Branch: refs/heads/master
Commit: a0d743062007113c5aa81526f4f1285c083b8daa
Parents: a77e95f
Author: Paul J. Davis <pa...@gmail.com>
Authored: Tue Apr 16 17:12:38 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Jul 23 18:12:19 2014 +0100
----------------------------------------------------------------------
src/mem3_sync_security.erl | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/a0d74306/src/mem3_sync_security.erl
----------------------------------------------------------------------
diff --git a/src/mem3_sync_security.erl b/src/mem3_sync_security.erl
index 901b70d..9edd0ec 100644
--- a/src/mem3_sync_security.erl
+++ b/src/mem3_sync_security.erl
@@ -35,6 +35,8 @@ maybe_sync_int(#shard{name=Name}=Src, Dst) ->
1 -> ok;
2 -> go(DbName)
end;
+ {error, no_majority} ->
+ go(DbName);
Else ->
Args = [DbName, Else],
couch_log:error("Error checking security objects for ~s :: ~p", Args)