couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [22/50] fabric commit: updated refs/heads/2971-count-distinct to 5d18415
Date Wed, 01 Mar 2017 16:38:20 GMT
Fix function clause introduced by fix for COUCHDB-3150


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

Branch: refs/heads/2971-count-distinct
Commit: d68a00fdeba9113bd1a3dd41d8e546b05bb2e533
Parents: 97096eb
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Oct 5 23:35:52 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Oct 5 23:37:09 2016 +0100

----------------------------------------------------------------------
 src/fabric_view.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/d68a00fd/src/fabric_view.erl
----------------------------------------------------------------------
diff --git a/src/fabric_view.erl b/src/fabric_view.erl
index b86d7dc..a766348 100644
--- a/src/fabric_view.erl
+++ b/src/fabric_view.erl
@@ -313,7 +313,9 @@ maybe_update_others(DbName, DDoc, ShardsInvolved, ViewName,
     ShardsNeedUpdated = mem3:shards(DbName) -- ShardsInvolved,
     lists:foreach(fun(#shard{node=Node, name=ShardName}) ->
         rpc:cast(Node, fabric_rpc, update_mrview, [ShardName, DDoc, ViewName, Args])
-    end, ShardsNeedUpdated).
+    end, ShardsNeedUpdated);
+maybe_update_others(_DbName, _DDoc, _ShardsInvolved, _ViewName, _Args) ->
+    ok.
 
 get_shard_replacements(DbName, UsedShards0) ->
     % We only want to generate a replacements list from shards


Mime
View raw message