Skip to content

Commit

Permalink
release-22.2: disable cross descriptor validation during lease renewal
Browse files Browse the repository at this point in the history
Previously, we added support for disabling descriptor lease
validation during lease renewal to avoid regressions
due to the overhead on multi-region clusters, where in some
cases schema change transactions would hit retry errors.
This was inadequate because the default still exposed users
to a regression in behaviour. To address this, this patch will
disable cross-descriptor validation by default during lease renewal.

Informs: cockroachdb#95764

Release note: None
  • Loading branch information
fqazi committed Mar 6, 2023
1 parent 04d1929 commit 5c6ae46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/base/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const (

// DefaultLeaseRenewalCrossValidate is the default setting for if
// we should validate descriptors on lease renewals.
DefaultLeaseRenewalCrossValidate = true
DefaultLeaseRenewalCrossValidate = false
)

// DefaultCertsDirectory is the default value for the cert directory flag.
Expand Down

0 comments on commit 5c6ae46

Please sign in to comment.