Fix the issue that prefetcher is not able to prefetch index data when prefetch depth is 1.

This commit is contained in:
wudidapaopao 2023-05-09 17:43:21 +00:00 committed by ob-robot
parent baf5ab66b6
commit f575a69ef8
3 changed files with 3 additions and 3 deletions

View File

@ -1545,7 +1545,7 @@ int ObIndexTreeMultiPassPrefetcher<DATA_PREFETCH_DEPTH, INDEX_PREFETCH_DEPTH>::O
// Explicit instantiations.
template class ObIndexTreeMultiPassPrefetcher<32, 3>;
template class ObIndexTreeMultiPassPrefetcher<2, 1>;
template class ObIndexTreeMultiPassPrefetcher<2, 2>;
}
}

View File

@ -22,7 +22,7 @@ using namespace transaction;
namespace storage {
class ObSSTableRowLockChecker : public ObSSTableRowScanner<ObIndexTreeMultiPassPrefetcher<2, 1>> {
class ObSSTableRowLockChecker : public ObSSTableRowScanner<ObIndexTreeMultiPassPrefetcher<2, 2>> {
public:
ObSSTableRowLockChecker();
virtual ~ObSSTableRowLockChecker();

View File

@ -435,7 +435,7 @@ int ObSSTableRowScanner<PrefetchType>::fetch_rows(ObSSTableReadHandle &read_hand
// Explicit instantiations.
template class ObSSTableRowScanner<ObIndexTreeMultiPassPrefetcher<32, 3>>;
template class ObSSTableRowScanner<ObIndexTreeMultiPassPrefetcher<2, 1>>;
template class ObSSTableRowScanner<ObIndexTreeMultiPassPrefetcher<2, 2>>;
}
}