summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Avdey <eiri@eiri.ca>2019-11-13 14:57:13 -0400
committerEric Avdey <eiri@eiri.ca>2019-12-03 13:54:40 -0400
commitac74330bea97935121a86840ee597162a4514f96 (patch)
tree3171f4e233fa2d86483202de7a76a8ccd1a79615
parenta5a0c8d7f5e307a3dc380e6e1b58ef7257e75d77 (diff)
downloadcouchdb-ac74330bea97935121a86840ee597162a4514f96.tar.gz
Remove fast_view filter from fabric
-rw-r--r--src/fabric/src/fabric_rpc.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fabric/src/fabric_rpc.erl b/src/fabric/src/fabric_rpc.erl
index 97374be1f..7b688b2b9 100644
--- a/src/fabric/src/fabric_rpc.erl
+++ b/src/fabric/src/fabric_rpc.erl
@@ -52,10 +52,9 @@ changes(DbName, Options, StartVector, DbOptions) ->
Args0#changes_args{
filter_fun={custom, Style, Req, DDoc, FName}
};
- {fetch, FilterType, Style, {DDocId, Rev}, VName}
- when FilterType == view orelse FilterType == fast_view ->
+ {fetch, view, Style, {DDocId, Rev}, VName} ->
{ok, DDoc} = ddoc_cache:open_doc(mem3:dbname(DbName), DDocId, Rev),
- Args0#changes_args{filter_fun={FilterType, Style, DDoc, VName}};
+ Args0#changes_args{filter_fun={view, Style, DDoc, VName}};
_ ->
Args0
end,