Commit 8e17696c authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3761], slight fix to bnc_apply_messages_to_basement_node

git-svn-id: file:///svn/toku/tokudb@36789 c7de825b-a66e-492c-adef-691d508d4ae1
parent d068bf63
......@@ -5797,8 +5797,8 @@ bnc_apply_messages_to_basement_node(
for (u_int32_t ube = fresh_ube; fresh_lbi < ube; --ube) {
r = toku_omt_delete_at(bnc->fresh_message_tree, fresh_lbi); assert_zero(r);
}
if (max_msn_applied.msn > bn->max_msn_applied.msn) {
bn->max_msn_applied = max_msn_applied;
if (ancestor->max_msn_applied_to_node_on_disk.msn > bn->max_msn_applied.msn) {
bn->max_msn_applied = ancestor->max_msn_applied_to_node_on_disk;
}
return r;
}
......
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