Don't prefix vnode directories with the backend name

This commit is contained in:
Gregory Burd 2012-04-15 14:36:05 -04:00
parent a04475b871
commit 5338a07c54

View file

@ -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}};