Don't prefix vnode directories with the backend name
This commit is contained in:
parent
a04475b871
commit
5338a07c54
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ start(Partition, Config) ->
|
|||
case AppStart of
|
||||
ok ->
|
||||
ok = filelib:ensure_dir(filename:join(DataRoot, "x")),
|
||||
DbName = filename:join(DataRoot, "lsm_btree" ++ integer_to_list(Partition)),
|
||||
DbName = filename:join(DataRoot, integer_to_list(Partition)),
|
||||
case lsm_btree:open(DbName) of
|
||||
{ok, Tree} ->
|
||||
{ok, #state{tree=Tree, partition=Partition}};
|
||||
|
|
Loading…
Reference in a new issue