Commit 632e525c authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

closes #5682, set dirty bit to 0 after cloning a rollback log node

git-svn-id: file:///svn/toku/tokudb@49932 c7de825b-a66e-492c-adef-691d508d4ae1
parent 3556f223
...@@ -217,6 +217,8 @@ void toku_rollback_clone_callback( ...@@ -217,6 +217,8 @@ void toku_rollback_clone_callback(
else { else {
*cloned_value_data = &cloned_rollback; *cloned_value_data = &cloned_rollback;
} }
// clear the dirty bit, because the node has been cloned
log->dirty = 0;
new_attr->is_valid = false; new_attr->is_valid = 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