Commit ae90f366 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#2915 closes[t:2915] fix the shutdown log entry timestamp

git-svn-id: file:///svn/toku/tokudb@23553 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7e7f4da6
...@@ -284,8 +284,7 @@ int toku_logger_shutdown(TOKULOGGER logger) { ...@@ -284,8 +284,7 @@ int toku_logger_shutdown(TOKULOGGER logger) {
int r = 0; int r = 0;
if (logger->is_open) { if (logger->is_open) {
if (toku_omt_size(logger->live_txns) == 0) { if (toku_omt_size(logger->live_txns) == 0) {
time_t tnow = time(NULL); int r2 = toku_log_shutdown(logger, NULL, TRUE, 0);
int r2 = toku_log_shutdown(logger, NULL, TRUE, tnow);
if (!r) r = r2; if (!r) r = r2;
} }
} }
......
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