Commit 8931bf69 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:3997] also include workdone counter in cachepressure_size


git-svn-id: file:///svn/toku/tokudb@36710 c7de825b-a66e-492c-adef-691d508d4ae1
parent 956edbc2
...@@ -638,6 +638,7 @@ brtnode_cachepressure_size(BRTNODE node) ...@@ -638,6 +638,7 @@ brtnode_cachepressure_size(BRTNODE node)
else if (BP_STATE(node,i) == PT_AVAIL) { else if (BP_STATE(node,i) == PT_AVAIL) {
totally_empty = totally_empty && (toku_bnc_n_entries(BNC(node, i)) == 0); totally_empty = totally_empty && (toku_bnc_n_entries(BNC(node, i)) == 0);
retval += get_avail_internal_node_partition_size(node, i); retval += get_avail_internal_node_partition_size(node, i);
retval += BP_WORKDONE(node, i);
} }
else { else {
assert(FALSE); assert(FALSE);
......
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