Commit 481b4493 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

[t:2892] Add comment.


git-svn-id: file:///svn/toku/tokudb@25831 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3c3e4414
...@@ -690,6 +690,7 @@ validate_env(DB_ENV * env, BOOL * valid_newenv, BOOL need_rollback_cachefile) { ...@@ -690,6 +690,7 @@ validate_env(DB_ENV * env, BOOL * valid_newenv, BOOL need_rollback_cachefile) {
// If the recovery log is of the current version, then there is no upgrade to be done. // If the recovery log is of the current version, then there is no upgrade to be done.
// If the recovery log is of an old version, then replacing it with a new recovery log // If the recovery log is of an old version, then replacing it with a new recovery log
// of the current version is how the upgrade is done. // of the current version is how the upgrade is done.
// Note, the upgrade procedure takes a checkpoint, so we must release the ydb lock.
static int static int
ydb_maybe_upgrade_env (DB_ENV *env, LSN * last_lsn_of_clean_shutdown_read_from_log, BOOL * upgrade_in_progress) { ydb_maybe_upgrade_env (DB_ENV *env, LSN * last_lsn_of_clean_shutdown_read_from_log, BOOL * upgrade_in_progress) {
int r = 0; int r = 0;
......
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