Commit 6e12defe authored by Zardosht Kasheff's avatar Zardosht Kasheff

refs #48, have ft_flush_some_child still do a flush if the child is a leaf...

refs #48, have ft_flush_some_child still do a flush if the child is a leaf node, so garbage collection happens
parent fcbaec38
......@@ -1651,7 +1651,7 @@ static void ft_flush_some_child(
//VERIFY_NODE(brt, child);
// only do the following work if there is a flush to perform
if (toku_bnc_n_entries(BNC(parent, childnum)) > 0) {
if (toku_bnc_n_entries(BNC(parent, childnum)) > 0 || parent->height == 1) {
if (!parent->dirty) {
dirtied++;
parent->dirty = 1;
......
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