ensure rocksdb started at backend init

This commit is contained in:
Ulf Wiger 2018-02-06 13:58:17 +01:00
parent 6c9f5b565f
commit a70f84f645
2 changed files with 2 additions and 2 deletions

View File

@ -8,5 +8,5 @@
{registered, []},
{mod, {mnesia_rocksdb_app, []}},
{env, []},
{applications, [kernel, stdlib]}
{applications, [kernel, stdlib, rocksdb]}
]}.

View File

@ -253,7 +253,7 @@ i_show_table(I, Move, Limit) ->
init_backend() ->
stick_rocksdb_dir(),
application:start(mnesia_rocksdb),
application:ensure_all_started(mnesia_rocksdb),
ok.
%% Prevent reloading of modules in rocksdb itself during runtime, since it