anchor.diff:              Ctx2 = esha_update(Ctx, Data),
               Ctx2
       end.
  +
  +get_env(Key, Default) ->
  +    CoreEnv = app_helper:get_env(riak_core, Key, Default),
  +    app_helper:get_env(riak_kv, Key, CoreEnv).
   
   -spec update_levels(integer(),
                       [{integer(), [{integer(), binary()}]}],
  
positive.code:     sha(term_to_binary(X)).
  
  sha(Bin) ->
      Chunk = app_helper:get_env(riak_kv, anti_entropy_sha_chunk, 4096),
      sha(Chunk, Bin).
  
  sha(Chunk, Bin) ->
  
negative.code: 
      DefaultWriteBufferMin = 4 * 1024 * 1024,
      DefaultWriteBufferMax = 14 * 1024 * 1024,
      ConfigVars = get_env(anti_entropy_leveldb_opts,
                           [{write_buffer_size_min, DefaultWriteBufferMin},
                            {write_buffer_size_max, DefaultWriteBufferMax},
                            {max_open_files, 20}]),
      Config = orddict:from_list(ConfigVars),
  
      %% Use a variable write buffer size to prevent against all buffers being
  