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 3555a1b commit 51aec0aCopy full SHA for 51aec0a
deps/rabbit/src/rabbit_db.erl
@@ -223,9 +223,9 @@ post_reset() ->
223
wipe_data_dir() ->
224
DataDir = dir(),
225
Glob = filename:join(DataDir, "*"),
226
- FilesToRemove = filelib:wildcard(Glob),
+ FilesToRemove = lists:sort(filelib:wildcard(Glob)),
227
?LOG_DEBUG(
228
- "DB: wipe files in data directory `~ts`:~p",
+ "DB: wipe files in data directory `~ts`:~n~p",
229
[DataDir, FilesToRemove],
230
#{domain => ?RMQLOG_DOMAIN_DB}),
231
ok = rabbit_file:recursive_delete(FilesToRemove),
0 commit comments