Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1119-Catch-mnesia-controller-call.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1119-Catch-mnesia-controller-call.patch of Package erlang
From 9830a1d98673dc0b948746ff32a95c095b5066b9 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson <dgud@erlang.org> Date: Mon, 14 Nov 2022 13:34:29 +0100 Subject: [PATCH] Catch mnesia:controller call incr_log_writes may be called before mnesia_controller is started, catch the call. --- lib/mnesia/src/mnesia_dumper.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mnesia/src/mnesia_dumper.erl b/lib/mnesia/src/mnesia_dumper.erl index 1264efeb68..c3262af2aa 100644 --- a/lib/mnesia/src/mnesia_dumper.erl +++ b/lib/mnesia/src/mnesia_dumper.erl @@ -86,7 +86,7 @@ adjust_log_writes(DoCast) -> false -> ignore; true -> - mnesia_controller:async_dump_log(write_threshold) + ?CATCH(mnesia_controller:async_dump_log(write_threshold)) end, Max = mnesia_monitor:get_env(dump_log_write_threshold), Left = mnesia_lib:read_counter(trans_log_writes_left), -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor