Commit 66c01c02 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:3203] I did the wrong thing earlier, we want to always trim logfiles, not...

[t:3203] I did the wrong thing earlier, we want to always trim logfiles, not always *not* trim them.

git-svn-id: file:///svn/toku/tokudb@34538 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3db70c88
......@@ -1066,7 +1066,6 @@ toku_env_close(DB_ENV * env, u_int32_t flags) {
toku_ydb_unlock(); // ydb lock must not be held when shutting down minicron
toku_cachetable_minicron_shutdown(env->i->cachetable);
if (env->i->logger) {
toku_logger_trim_log_files(env->i->logger, FALSE);
r = toku_checkpoint(env->i->cachetable, env->i->logger, NULL, NULL, NULL, NULL);
if (r) {
err_msg = "Cannot close environment (error during checkpoint)\n";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment