mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
#3584 debug printf cachetable checkpoint info refs[t:3584]
git-svn-id: file:///svn/toku/tokudb@32938 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
46e33438c7
commit
1dd96b44ab
1 changed files with 3 additions and 1 deletions
|
@ -2438,7 +2438,9 @@ toku_cachetable_begin_checkpoint (CACHETABLE ct, TOKULOGGER logger) {
|
|||
}
|
||||
}
|
||||
rwlock_write_unlock(&ct->pending_lock);
|
||||
if (0) fprintf(stderr, "%s:%d %u %u\n", __FUNCTION__, __LINE__, npending, ct->n_in_table);
|
||||
if (0 && (npending > 0 || ct->checkpoint_num_files > 0 || ct->checkpoint_num_txns > 0)) {
|
||||
fprintf(stderr, "%s:%d pending=%u %u files=%u txns=%u\n", __FUNCTION__, __LINE__, npending, ct->n_in_table, ct->checkpoint_num_files, ct->checkpoint_num_txns);
|
||||
}
|
||||
|
||||
//begin_checkpoint_userdata must be called AFTER all the pairs are marked as pending.
|
||||
//Once marked as pending, we own write locks on the pairs, which means the writer threads can't conflict.
|
||||
|
|
Loading…
Add table
Reference in a new issue