Skip to content

Commit 1a22f58

Browse files
craig[bot]yuzefovich
andcommitted
Merge #144306
144306: sql: disable buffered writes for internal executor r=yuzefovich a=yuzefovich This is just another precaution for 25.2. Epic: None Release note: None Co-authored-by: Yahor Yuzefovich <[email protected]>
2 parents 65a4ba7 + 07d8902 commit 1a22f58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/sql/internal.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,10 @@ func applyOverrides(o sessiondata.InternalExecutorOverride, sd *sessiondata.Sess
965965
if o.BufferedWritesEnabled != nil {
966966
sd.BufferedWritesEnabled = *o.BufferedWritesEnabled
967967
}
968+
// For 25.2, we're being conservative and explicitly disabling buffered
969+
// writes for the internal executor.
970+
// TODO(yuzefovich): remove this for 25.3.
971+
sd.BufferedWritesEnabled = false
968972

969973
if o.MultiOverride != "" {
970974
overrides := strings.Split(o.MultiOverride, ",")

0 commit comments

Comments
 (0)