Commit f9eff9a9 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

closes #5249, remove CACHEFILE->for_local_checkpoint

git-svn-id: file:///svn/toku/tokudb@45681 c7de825b-a66e-492c-adef-691d508d4ae1
parent 43675fa5
...@@ -287,7 +287,6 @@ struct cachefile { ...@@ -287,7 +287,6 @@ struct cachefile {
int (*note_pin_by_checkpoint)(CACHEFILE cf, void *userdata); // add a reference to the userdata to prevent it from being removed from memory int (*note_pin_by_checkpoint)(CACHEFILE cf, void *userdata); // add a reference to the userdata to prevent it from being removed from memory
int (*note_unpin_by_checkpoint)(CACHEFILE cf, void *userdata); // add a reference to the userdata to prevent it from being removed from memory int (*note_unpin_by_checkpoint)(CACHEFILE cf, void *userdata); // add a reference to the userdata to prevent it from being removed from memory
LSN most_recent_global_checkpoint_that_finished_early; LSN most_recent_global_checkpoint_that_finished_early;
LSN for_local_checkpoint;
enum cachefile_checkpoint_state checkpoint_state; enum cachefile_checkpoint_state checkpoint_state;
BACKGROUND_JOB_MANAGER bjm; BACKGROUND_JOB_MANAGER bjm;
}; };
...@@ -557,7 +556,6 @@ int toku_cachetable_openfd_with_filenum (CACHEFILE *cfptr, CACHETABLE ct, int fd ...@@ -557,7 +556,6 @@ int toku_cachetable_openfd_with_filenum (CACHEFILE *cfptr, CACHETABLE ct, int fd
ct->cachefiles = newcf; ct->cachefiles = newcf;
newcf->most_recent_global_checkpoint_that_finished_early = ZERO_LSN; newcf->most_recent_global_checkpoint_that_finished_early = ZERO_LSN;
newcf->for_local_checkpoint = ZERO_LSN;
newcf->checkpoint_state = CS_NOT_IN_PROGRESS; newcf->checkpoint_state = CS_NOT_IN_PROGRESS;
bjm_init(&newcf->bjm); bjm_init(&newcf->bjm);
......
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