summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holley <willholley@gmail.com>2019-12-10 12:40:41 +0000
committerWill Holley <willholley@gmail.com>2019-12-10 12:40:41 +0000
commit63c9da6b617ae8b68ba2e5530ee11019dccc2d56 (patch)
treec3588ad700b3aa4e884b0b0864673c331aeb679e
parent27d4458e466579747e1de57fde25ffb4d26d0731 (diff)
downloadcouchdb-63c9da6b617ae8b68ba2e5530ee11019dccc2d56.tar.gz
Fix timeout case clause in fabric_db_info2530-all-dbs-timeout
Unlike most other fabric_db_* message handlers, the accumulator for fabric_db_info has 3 terms. When a rexi timeout occurs, it returns `{timeout, Accumulator}`; the case clause handling this needs to expect 3 terms in the Accumulator instead of 2. Fixes #2350
-rw-r--r--src/fabric/src/fabric_db_info.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric/src/fabric_db_info.erl b/src/fabric/src/fabric_db_info.erl
index ed14e3e20..40da678e5 100644
--- a/src/fabric/src/fabric_db_info.erl
+++ b/src/fabric/src/fabric_db_info.erl
@@ -30,7 +30,7 @@ go(DbName) ->
{ok, Acc} ->
{ok, Acc};
- {timeout, {WorkersDict, _}} ->
+ {timeout, {WorkersDict, _, _}} ->
DefunctWorkers = fabric_util:remove_done_workers(
WorkersDict,
nil