Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/compute-types/src/dyncfgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,18 @@ pub const MV_SINK_ADVANCE_PERSIST_FRONTIERS: Config<bool> = Config::new(
"Whether the MV sink's write operator advances its internal persist frontiers to the as_of.",
);

/// Whether to offload a fast-path index peek's cursor walk to an async task, instead of running
/// it synchronously on the maintenance timely worker.
///
/// Disabled by default while the offloaded path is validated; the synchronous walk remains the
/// default and is behavior-unchanged.
pub const ENABLE_INDEX_PEEK_OFFLOAD: Config<bool> = Config::new(
"enable_index_peek_offload",
false,
"Whether to offload a fast-path index peek's cursor walk to an async task, instead of \
running it synchronously on the maintenance timely worker.",
);

/// Adds the full set of all compute `Config`s.
pub fn all_dyncfgs(configs: ConfigSet) -> ConfigSet {
configs
Expand Down Expand Up @@ -535,6 +547,7 @@ pub fn all_dyncfgs(configs: ConfigSet) -> ConfigSet {
.add(&COMPUTE_PROMETHEUS_INTROSPECTION_SCRAPE_INTERVAL)
.add(&SUBSCRIBE_SNAPSHOT_OPTIMIZATION)
.add(&MV_SINK_ADVANCE_PERSIST_FRONTIERS)
.add(&ENABLE_INDEX_PEEK_OFFLOAD)
.add(&ENABLE_COLUMN_PAGED_BATCHER)
.add(&ENABLE_COLUMN_PAGED_BATCHER_SPILL)
.add(&COLUMN_PAGED_BATCHER_BUDGET_FRACTION)
Expand Down
1 change: 1 addition & 0 deletions src/compute/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ prost.workspace = true
scopeguard.workspace = true
serde.workspace = true
smallvec = { workspace = true, features = ["serde", "union"] }
static_assertions.workspace = true
timely.workspace = true
tokio.workspace = true
tracing.workspace = true
Expand Down
Loading
Loading