Type-o fixed.

This commit is contained in:
Gregory Burd 2013-04-15 00:25:00 -04:00
parent cc73310cb3
commit e37c5b68d9

View file

@ -94,7 +94,7 @@ start(Partition, Config) ->
end, end,
case AppStart of case AppStart of
ok -> ok ->
Type = wterl:config_value(type, Config, "lsm"), {type, Type} = wterl:config_value(type, Config, "lsm"),
{ok, Connection} = establish_connection(Config, Type), {ok, Connection} = establish_connection(Config, Type),
Table = Type ++ ":wt" ++ integer_to_list(Partition), Table = Type ++ ":wt" ++ integer_to_list(Partition),
TableOpts = TableOpts =
@ -375,13 +375,15 @@ establish_connection(Config, Type) ->
wterl:config_value(cache_size, Config, size_cache(RequestedCacheSize)), wterl:config_value(cache_size, Config, size_cache(RequestedCacheSize)),
wterl:config_value(statistics_log, Config, [{wait, 30}]), % sec wterl:config_value(statistics_log, Config, [{wait, 30}]), % sec
%% NOTE: LSM auto-checkpoints, so we don't have too. %% NOTE: LSM auto-checkpoints, so we don't have too.
[wterl:config_value(checkpoint, Config, [{wait, 10}]) || Type =:= "table"], % TODO: [wterl:config_value(checkpoint, Config, [{wait, 10}]) || Type =:= "table"],
wterl:config_value(verbose, Config, [ wterl:config_value(verbose, Config, [
%"ckpt" "block", "shared_cache", "evictserver", "fileops", %"ckpt" "block", "shared_cache", "evictserver", "fileops",
%"hazard", "mutex", "read", "readserver", "reconcile", %"hazard", "mutex", "read", "readserver", "reconcile",
%"salvage", "verify", "write", "evict", "lsm" %"salvage", "verify", "write", "evict", "lsm"
]) ] ++ proplists:get_value(wterl, Config, [])), % sec ]) ] ++ proplists:get_value(wterl, Config, [])), % sec
%% WT Session Options: %% WT Session Options:
SessionOpts = [{isolation, "snapshot"}], SessionOpts = [{isolation, "snapshot"}],