Commit 9b3163c8 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4145] set the max_msn_applied in the basement node created by a leaf split


git-svn-id: file:///svn/toku/tokudb@36997 c7de825b-a66e-492c-adef-691d508d4ae1
parent ad0121f9
......@@ -1706,8 +1706,8 @@ brtleaf_split (struct brt_header* h, BRTNODE node, BRTNODE *nodea, BRTNODE *node
BLB(node, curr_src_bn_index),
last_le_on_left_within_bn+1, // first row to be moved to B
toku_omt_size(BLB_BUFFER(node, curr_src_bn_index)), // number of rows in basement to be split
&diff_size
);
&diff_size);
BLB_MAX_MSN_APPLIED(B, curr_dest_bn_index) = BLB_MAX_MSN_APPLIED(node, curr_src_bn_index);
BLB_NBYTESINBUF(node, curr_src_bn_index) -= diff_size;
BLB_NBYTESINBUF(B, curr_dest_bn_index) += diff_size;
curr_dest_bn_index++;
......
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