Update WiredTiger statistics less frequently and fix a build script
mistake preventing checking out by branch name.
This commit is contained in:
parent
4745950ad5
commit
013251e6d9
2 changed files with 3 additions and 3 deletions
|
@ -35,12 +35,12 @@ get_wt ()
|
||||||
if [ -d $BASEDIR/$WT_DIR/.git ]; then
|
if [ -d $BASEDIR/$WT_DIR/.git ]; then
|
||||||
(cd $BASEDIR/$WT_DIR && git pull -u) || exit 1
|
(cd $BASEDIR/$WT_DIR && git pull -u) || exit 1
|
||||||
else
|
else
|
||||||
if [ "X$WT_VSN" == "X" ]; then
|
if [ "X$WT_VSN" != "X" ]; then
|
||||||
git clone ${WT_REPO} && \
|
git clone ${WT_REPO} && \
|
||||||
(cd $BASEDIR/wiredtiger && git checkout $WT_VSN || exit 1)
|
(cd $BASEDIR/wiredtiger && git checkout $WT_VSN || exit 1)
|
||||||
else
|
else
|
||||||
git clone -b ${WT_BRANCH} ${WT_REPO} && \
|
git clone -b ${WT_BRANCH} ${WT_REPO} && \
|
||||||
(cd $BASEDIR/wiredtiger && git checkout -b $WT_BRANCH origin/$WT_BRANCH || exit 1)
|
(cd $BASEDIR/wiredtiger && git checkout $WT_BRANCH origin/$WT_BRANCH || exit 1)
|
||||||
fi
|
fi
|
||||||
mv wiredtiger $WT_DIR || exit 1
|
mv wiredtiger $WT_DIR || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -415,7 +415,7 @@ establish_connection(Config, Type) ->
|
||||||
wterl:config_value(transactional, Config, true),
|
wterl:config_value(transactional, Config, true),
|
||||||
wterl:config_value(session_max, Config, max_sessions(Config)),
|
wterl:config_value(session_max, Config, max_sessions(Config)),
|
||||||
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, 300}]), % sec
|
||||||
wterl:config_value(verbose, Config, [ "salvage", "verify"
|
wterl:config_value(verbose, Config, [ "salvage", "verify"
|
||||||
% Note: for some unknown reason, if you add these additional
|
% Note: for some unknown reason, if you add these additional
|
||||||
% verbose flags Erlang SEGV's "size_object: bad tag for 0x80"
|
% verbose flags Erlang SEGV's "size_object: bad tag for 0x80"
|
||||||
|
|
Loading…
Reference in a new issue