Skip to content

Commit

Permalink
Disable Straddled Joins by default
Browse files Browse the repository at this point in the history
Out of an abundance of caution, we are also disabling this by default
for now.  We don't, however, have any examples of issues with this
feature.

This is also a partial revert of Iad455b26.  We again pass the argument
explicitly as we did before the change that made this feature enabled by
default.

Change-Id: I5b79cf656e5e161ba9e2d7c3013541d6d560a7d9
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/8025
Reviewed-by: Michael Zink <[email protected]>
Tested-by: Buildkite CI
  • Loading branch information
davisjc committed Sep 19, 2024
1 parent 3a7a266 commit ae9c3fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readyset-features.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"command-line": "--feature-straddled-joins",
"environment-variable": "FEATURE_STRADDLED_JOINS",
"description": "Enable support for straddled joins (joins with partial keys traced to both parents).",
"default": true
"default": false
},
{
"feature_id": "6",
Expand Down
2 changes: 1 addition & 1 deletion readyset-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ pub struct WorkerOptions {
#[arg(
long,
env = "FEATURE_STRADDLED_JOINS",
default_value = "true",
default_value = "false",
default_missing_value = "true",
num_args = 0..=1,
action = ArgAction::Set,
Expand Down
1 change: 1 addition & 0 deletions system-benchmarks/benches/workload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ fn start_adapter(args: SystemBenchArgs) -> anyhow::Result<()> {
"standalone",
"--allow-unauthenticated-connections",
"--feature-post-lookup",
"--feature-straddled-joins",
"--upstream-db-url",
&upstream_url,
"--durability",
Expand Down

0 comments on commit ae9c3fc

Please sign in to comment.