You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
148133: drpc: add DefaultTestDRPCEnableOption to TestServerArgs r=cthumuluru-crdb a=shubhamdhama
This entire setup is similar to `DefaultTestTenantOptions`.
This option can be configured to run a server with DRPC enabled. The plan is to enable as many test packages as possible at the global level using `TestingGlobalDRPCEnableOption` in `TestMain` and, for a select few others, just specify this option individually in their `TestServerArgs`.
One follow-up to this PR is to simulate a mixed-mode server where, in `TestClusterArgs.ServerArgsPerNode`, we specify some nodes with DRPC enabled and others not. This would require some testing knobs because enabling a setting on one node will take effect for others as well, and we would require some refactoring in other production code paths too.
Release note: none
Epic: CRDB-48935
148180: workload/schemachanger: handle foreign key mutations r=fqazi a=fqazi
Previously, the insert operation could fail on foreign key violation errors, if the foreign key constraint was enforce using a mutation. This patch detects those scenarios and turns these errors into potential errors.
Fixes: #148070Fixes: #147741Fixes: #147900
Release note: None
Co-authored-by: Shubham Dhama <[email protected]>
Co-authored-by: Faizan Qazi <[email protected]>
0 commit comments