Commit 1e25fc76 authored by Christian Rober's avatar Christian Rober Committed by Yoni Fogel

[t:4758] Added printing to error log if trying to upgrade the log after a non-clean shutdown.

git-svn-id: file:///svn/toku/tokudb@42472 c7de825b-a66e-492c-adef-691d508d4ae1
parent f40c8abf
......@@ -112,6 +112,10 @@ verify_clean_shutdown_of_log_version(const char *log_dir, uint32_t version, LSN
if (version < TOKU_LOG_VERSION) {
FOOTPRINT(1);
r = verify_clean_shutdown_of_log_version_old(log_dir, last_lsn);
if (r != 0) {
fprintf(stderr, "Cannot upgrade TokuDB version %d database.", version);
fprintf(stderr, " Previous improper shutdown detected.\n");
}
}
else {
FOOTPRINT(2);
......
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