Commit 33cb2261 authored by John Esmet's avatar John Esmet

fixes #142 Always use quicklz when partially evicting an internal node

partition
parent 8146cb62
...@@ -1088,7 +1088,9 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR* ...@@ -1088,7 +1088,9 @@ int toku_ftnode_pe_callback (void *ftnode_pv, PAIR_ATTR UU(old_attr), PAIR_ATTR*
if (num_partial_evictions++ == 0) { if (num_partial_evictions++ == 0) {
size_before = ftnode_memory_size(node); size_before = ftnode_memory_size(node);
} }
compress_internal_node_partition(node, i, ft->h->compression_method); compress_internal_node_partition(node, i,
// When partially evicting, always compress with quicklz,
TOKU_QUICKLZ_METHOD);
} }
else { else {
BP_SWEEP_CLOCK(node,i); BP_SWEEP_CLOCK(node,i);
......
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