You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2020/03/11 15:31:05 UTC
[couchdb] branch fix-changes-with-view-filtered-error created (now
80b3b63)
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to branch fix-changes-with-view-filtered-error
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 80b3b63 Fix _changes with a _view filter
This branch includes the following new commits:
new 80b3b63 Fix _changes with a _view filter
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/01: Fix _changes with a _view filter
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch fix-changes-with-view-filtered-error
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 80b3b637f9c0541eb63c91e011842908ab8af8f3
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Wed Mar 11 11:27:48 2020 -0400
Fix _changes with a _view filter
Use `fabric2_db:is_clustered/1` instead of `couch_db:is_clustered`
---
src/chttpd/src/chttpd_changes.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chttpd/src/chttpd_changes.erl b/src/chttpd/src/chttpd_changes.erl
index 3a13f81..45c7d57 100644
--- a/src/chttpd/src/chttpd_changes.erl
+++ b/src/chttpd/src/chttpd_changes.erl
@@ -169,7 +169,7 @@ configure_filter("_view", Style, Req, Db) ->
[DName, VName] ->
{ok, DDoc} = open_ddoc(Db, <<"_design/", DName/binary>>),
check_member_exists(DDoc, [<<"views">>, VName]),
- case couch_db:is_clustered(Db) of
+ case fabric2_db:is_clustered(Db) of
true ->
DIR = fabric_util:doc_id_and_rev(DDoc),
{fetch, view, Style, DIR, VName};