Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
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
  • Loading branch information
davisp authored and rnewson committed Jul 23, 2014
1 parent a77e95f commit a0d743062007113c5aa81526f4f1285c083b8daa
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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)

0 comments on commit a0d7430

Please sign in to comment.