mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
refs #5748, fix small engine status bug introduced
git-svn-id: file:///svn/toku/tokudb@50825 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
84c2121905
commit
e04dfafca1
1 changed files with 4 additions and 4 deletions
|
@ -2357,11 +2357,11 @@ void toku_bnc_flush_to_child(
|
|||
}
|
||||
if (child->height == 0) {
|
||||
ft_leaf_run_gc(child, ft);
|
||||
size_t buffsize = toku_fifo_buffer_size_in_use(bnc->buffer);
|
||||
STATUS_INC(FT_MSG_BYTES_OUT, buffsize);
|
||||
// may be misleading if there's a broadcast message in there
|
||||
STATUS_INC(FT_MSG_BYTES_CURR, -buffsize);
|
||||
}
|
||||
size_t buffsize = toku_fifo_buffer_size_in_use(bnc->buffer);
|
||||
STATUS_INC(FT_MSG_BYTES_OUT, buffsize);
|
||||
// may be misleading if there's a broadcast message in there
|
||||
STATUS_INC(FT_MSG_BYTES_CURR, -buffsize);
|
||||
}
|
||||
|
||||
bool toku_bnc_should_promote(FT ft, NONLEAF_CHILDINFO bnc) {
|
||||
|
|
Loading…
Add table
Reference in a new issue