From 63c9da6b617ae8b68ba2e5530ee11019dccc2d56 Mon Sep 17 00:00:00 2001 From: Will Holley Date: Tue, 10 Dec 2019 12:40:41 +0000 Subject: Fix timeout case clause in fabric_db_info 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 --- src/fabric/src/fabric_db_info.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1