Commit f245bbb1 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

fix stuff


git-svn-id: file:///svn/toku/tokudb@51669 c7de825b-a66e-492c-adef-691d508d4ae1
parent e91c4512
...@@ -730,7 +730,7 @@ static void ftnode_finalize_split(FTNODE node, FTNODE B, MSN max_msn_applied_to_ ...@@ -730,7 +730,7 @@ static void ftnode_finalize_split(FTNODE node, FTNODE B, MSN max_msn_applied_to_
B->max_msn_applied_to_node_on_disk = max_msn_applied_to_node; B->max_msn_applied_to_node_on_disk = max_msn_applied_to_node;
// The new node in the split inherits the oldest known reference xid // The new node in the split inherits the oldest known reference xid
B->oldest_referenced_xid_known = node->oldest_known_referenced_xid; B->oldest_referenced_xid_known = node->oldest_referenced_xid_known;
node->dirty = 1; node->dirty = 1;
B->dirty = 1; B->dirty = 1;
...@@ -1917,7 +1917,7 @@ place_node_and_bnc_on_background_thread( ...@@ -1917,7 +1917,7 @@ place_node_and_bnc_on_background_thread(
// //
void toku_ft_flush_node_on_background_thread(FT h, FTNODE parent) void toku_ft_flush_node_on_background_thread(FT h, FTNODE parent)
{ {
TXNID oldest_referenced_xid_known = parent->oldest_known_referenced_xid; TXNID oldest_referenced_xid_known = parent->oldest_referenced_xid_known;
// //
// first let's see if we can detach buffer on client thread // first let's see if we can detach buffer on client thread
// and pick the child we want to flush to // and pick the child we want to flush to
......
...@@ -752,7 +752,7 @@ void toku_ftnode_clone_callback( ...@@ -752,7 +752,7 @@ void toku_ftnode_clone_callback(
rebalance_ftnode_leaf(node, ft->h->basementnodesize); rebalance_ftnode_leaf(node, ft->h->basementnodesize);
} }
cloned_node->oldest_referenced_xid_known = node->oldest_known_referenced_xid; cloned_node->oldest_referenced_xid_known = node->oldest_referenced_xid_known;
cloned_node->max_msn_applied_to_node_on_disk = node->max_msn_applied_to_node_on_disk; cloned_node->max_msn_applied_to_node_on_disk = node->max_msn_applied_to_node_on_disk;
cloned_node->flags = node->flags; cloned_node->flags = node->flags;
cloned_node->thisnodename = node->thisnodename; cloned_node->thisnodename = node->thisnodename;
...@@ -2337,7 +2337,7 @@ void toku_bnc_flush_to_child( ...@@ -2337,7 +2337,7 @@ void toku_bnc_flush_to_child(
); );
remaining_memsize -= FIFO_CURRENT_ENTRY_MEMSIZE; remaining_memsize -= FIFO_CURRENT_ENTRY_MEMSIZE;
})); }));
child->oldest_referenced_xid_known = oldest_known_referenced_xid; child->oldest_referenced_xid_known = oldest_referenced_xid_known;
invariant(remaining_memsize == 0); invariant(remaining_memsize == 0);
if (stats_delta.numbytes || stats_delta.numrows) { if (stats_delta.numbytes || stats_delta.numrows) {
...@@ -2440,7 +2440,7 @@ void toku_ft_leaf_apply_cmd( ...@@ -2440,7 +2440,7 @@ void toku_ft_leaf_apply_cmd(
// Pass the oldest possible live xid value to each basementnode // Pass the oldest possible live xid value to each basementnode
// when we apply messages to them. // when we apply messages to them.
TXNID oldest_referenced_xid_known = node->oldest_known_referenced_xid; TXNID oldest_referenced_xid_known = node->oldest_referenced_xid_known;
if (ft_msg_applies_once(cmd)) { if (ft_msg_applies_once(cmd)) {
unsigned int childnum = (target_childnum >= 0 unsigned int childnum = (target_childnum >= 0
......
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