Merge pull request #1 from aeternity/uw-add-rocksdb-app-dep

ensure rocksdb started at backend init
This commit is contained in:
Ulf Wiger 2018-02-06 14:32:32 +01:00 committed by GitHub
commit 3c6f6dfdab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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