You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2019/08/27 20:42:45 UTC
[couchdb] branch timeout-all-docs created (now 395b822)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a change to branch timeout-all-docs
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 395b822 Handle badmatch timeout in all_docs query
This branch includes the following new commits:
new 395b822 Handle badmatch timeout in all_docs query
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: Handle badmatch timeout in all_docs query
Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch timeout-all-docs
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 395b8228f1e537a5c61eb0c19f4420660de9af9e
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Aug 27 16:42:25 2019 -0400
Handle badmatch timeout in all_docs query
---
src/fabric/src/fabric_view_all_docs.erl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/fabric/src/fabric_view_all_docs.erl b/src/fabric/src/fabric_view_all_docs.erl
index 1d87e3d..a0fcd14 100644
--- a/src/fabric/src/fabric_view_all_docs.erl
+++ b/src/fabric/src/fabric_view_all_docs.erl
@@ -109,7 +109,9 @@ go(DbName, Options, QueryArgs, Callback, Acc0) ->
),
Callback(complete, Acc2);
{'DOWN', Ref, _, _, Error} ->
- Callback({error, Error}, Acc0)
+ Callback({error, Error}, Acc0);
+ timeout ->
+ Callback(timeout, Acc0)
after Timeout ->
Callback(timeout, Acc0)
end.