We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7f7b3 commit 3555a1bCopy full SHA for 3555a1b
deps/rabbit/src/rabbit_db.erl
@@ -196,8 +196,11 @@ force_load_on_next_boot_using_mnesia() ->
196
rabbit_mnesia:force_load_next_boot().
197
198
post_reset() ->
199
- %% We stop all Ra systems because their files are about to be removed.
200
- rabbit_ra_systems:ensure_stopped(),
+ %% We assert all Ra systems are stopped because their files are about to
+ %% be removed.
201
+ false = lists:any(
202
+ fun rabbit_ra_systems:is_running/1,
203
+ rabbit_ra_systems:all_ra_systems()),
204
205
%% We reset the state of feature flags, both in memory and on disk. The
206
%% state recorded on disk would be deleted with the wipe below anyway.
0 commit comments