Commit 7e773324 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4102], place node and bnc on background thread before unpinning parent

git-svn-id: file:///svn/toku/tokudb@36646 c7de825b-a66e-492c-adef-691d508d4ae1
parent 04d62140
...@@ -3575,8 +3575,8 @@ flush_node_on_background_thread(BRT brt, BRTNODE parent) ...@@ -3575,8 +3575,8 @@ flush_node_on_background_thread(BRT brt, BRTNODE parent)
// so, because we know for sure the child is not // so, because we know for sure the child is not
// reactive, we can unpin the parent // reactive, we can unpin the parent
// //
toku_unpin_brtnode(brt, parent);
place_node_and_bnc_on_background_thread(brt, child, bnc); place_node_and_bnc_on_background_thread(brt, child, bnc);
toku_unpin_brtnode(brt, parent);
} }
else { else {
// because the child may be reactive, we need to // because the child may be reactive, we need to
......
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