Loading newbrt/brt.c +10 −12 Original line number Diff line number Diff line Loading @@ -5519,13 +5519,6 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf, // - brt_search_node is called, assuming that the node and its relevant partition are in memory. // struct brtnode_fetch_extra bfe; BRTNODE node = NULL; { toku_brtheader_grab_treelock(brt->h); u_int32_t fullhash; CACHEKEY *rootp = toku_calculate_root_offset_pointer(brt->h, &fullhash); fill_bfe_for_subset_read( &bfe, brt->h, Loading @@ -5536,6 +5529,11 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf, brtcursor->right_is_pos_infty, brtcursor->disable_prefetching ); BRTNODE node = NULL; { toku_brtheader_grab_treelock(brt->h); u_int32_t fullhash; CACHEKEY *rootp = toku_calculate_root_offset_pointer(brt->h, &fullhash); toku_pin_brtnode_off_client_thread( brt->h, *rootp, Loading Loading
newbrt/brt.c +10 −12 Original line number Diff line number Diff line Loading @@ -5519,13 +5519,6 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf, // - brt_search_node is called, assuming that the node and its relevant partition are in memory. // struct brtnode_fetch_extra bfe; BRTNODE node = NULL; { toku_brtheader_grab_treelock(brt->h); u_int32_t fullhash; CACHEKEY *rootp = toku_calculate_root_offset_pointer(brt->h, &fullhash); fill_bfe_for_subset_read( &bfe, brt->h, Loading @@ -5536,6 +5529,11 @@ toku_brt_search (BRT brt, brt_search_t *search, BRT_GET_CALLBACK_FUNCTION getf, brtcursor->right_is_pos_infty, brtcursor->disable_prefetching ); BRTNODE node = NULL; { toku_brtheader_grab_treelock(brt->h); u_int32_t fullhash; CACHEKEY *rootp = toku_calculate_root_offset_pointer(brt->h, &fullhash); toku_pin_brtnode_off_client_thread( brt->h, *rootp, Loading