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

refs #5748, fix small engine status bug introduced

git-svn-id: file:///svn/toku/tokudb@50825 c7de825b-a66e-492c-adef-691d508d4ae1
parent 84c21219
......@@ -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) {
......
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