Skip to content

Commit

Permalink
add prefetch options
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Jan 18, 2024
1 parent 0f6da74 commit b3c1f8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stream/src/executor/backfill/arrangement_backfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ use crate::executor::{
Message, PkIndicesRef, StreamExecutorError,
};
use crate::task::{ActorId, CreateMviewProgress};
use risingwave_storage::store::PrefetchOptions;

/// Similar to [`super::no_shuffle_backfill::BackfillExecutor`].
/// Main differences:
Expand Down Expand Up @@ -559,7 +560,7 @@ where
"iter_with_vnode_and_output_indices"
);
let vnode_row_iter = upstream_table
.iter_with_vnode_and_output_indices(vnode, &range_bounds, Default::default())
.iter_with_vnode_and_output_indices(vnode, &range_bounds, PrefetchOptions::prefetch_for_small_range_scan())
.await?;

let vnode_row_iter = Box::pin(owned_row_iter(vnode_row_iter));
Expand Down

0 comments on commit b3c1f8a

Please sign in to comment.