anchor.diff:  %% @doc Start the eleveldb backend
   -spec start(integer(), config()) -> {ok, state()} | {error, term()}.
   start(Partition, Config) ->
  +    %% Initialize random seed
  +    random:seed(now()),
  +
       %% Get the data root directory
       DataDir = filename:join(config_value(data_root, Config),
                               integer_to_list(Partition)),
  -    filelib:ensure_dir(filename:join(DataDir, "dummy")),
  -
  -    %% Use a variable write buffer size in order to reduce the number
  -    %% of vnodes that try to kick off compaction at the same time
  -    %% under heavy uniform load...
  -    WriteBufferMin = config_value(write_buffer_size_min, Config, 3 * 1024 * 1024),
  -    WriteBufferMax = config_value(write_buffer_size_max, Config, 6 * 1024 * 1024),
  -    random:seed(now()),
  -    WriteBufferSize = WriteBufferMin + random:uniform(1 + WriteBufferMax - WriteBufferMin),
  -
  -    %% Assemble options...
  -    Options = [
  -               {create_if_missing, true},
  -               {write_buffer_size, WriteBufferSize}
  -              ],
  -
  -    case eleveldb:open(DataDir, Options) of
  +    case open_db(DataDir, Config) of
           {ok, Ref} ->
  -            {ok, #state {ref = Ref,
  -                         data_root = DataDir,
  -                         write_buffer_size = WriteBufferSize }};
  +            {ok, #state { ref = Ref,
  +                          data_root = DataDir,
  +                          config = Config }};
           {error, Reason} ->
               {error, Reason}
       end.
  
positive.code: %% ===================================================================
  %% Internal functions
  %% ===================================================================
  
  %% @private
  config_value(Key, Config) ->
  
negative.code: 
  -record(state, {ref :: reference(),
                  data_root :: string(),
                  config :: config(),
                  read_opts = [],
                  write_opts = [],
                  fold_opts = [{fill_cache, false}]
                 }).
  
  
  -type state() :: #state{}.
  -type config() :: [{atom(), term()}].
  