This is an automated email from the ASF dual-hosted git repository. jiahuili430 pushed a commit to branch improve-couch-debug in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 59d395efb829956c12152424bdbbdd8c545420a8 Author: Jiahui Li <[email protected]> AuthorDate: Thu May 15 21:57:23 2025 -0500 Fix `mem3:ping/1` function clause error Error log: ``` ** exception error: no function clause matching mem3:ping_nodes(['[email protected]']) (src/mem3.erl, line 453) ``` --- src/mem3/src/mem3.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem3/src/mem3.erl b/src/mem3/src/mem3.erl index c0d64d7e4..5e419ea12 100644 --- a/src/mem3/src/mem3.erl +++ b/src/mem3/src/mem3.erl @@ -434,7 +434,7 @@ engine(Opts) when is_list(Opts) -> -spec ping(node()) -> pos_integer() | Error :: term(). ping(Node) -> - [{Node, Res}] = ping_nodes([Node]), + [{Node, Res}] = ping_nodes([Node], ?PING_TIMEOUT_IN_MS), Res. -spec ping(node(), Timeout :: pos_integer()) -> pos_integer() | Error :: term().
