projects
/
couchdb-fabric.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97096eb
)
Fix function clause introduced by fix for COUCHDB-3150
author
Robert Newson <rnewson@apache.org>
Wed, 5 Oct 2016 22:35:52 +0000
(23:35 +0100)
committer
Robert Newson <rnewson@apache.org>
Wed, 5 Oct 2016 22:37:09 +0000
(23:37 +0100)
src/fabric_view.erl
patch
|
blob
|
history
diff --git
a/src/fabric_view.erl
b/src/fabric_view.erl
index
b86d7dc
..
a766348
100644
(file)
--- 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