Skip to content

Commit b9bdd0a

Browse files
authored
Merge pull request cockroachdb#144718 from cockroachdb/blathers/backport-release-25.2-144642
release-25.2: backup: compaction dist sql processor now handles errors correctly
2 parents 7253303 + aa9c18f commit b9bdd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/backup/compaction_dist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func runCompactionPlan(
130130

131131
evalCtxCopy := execCtx.ExtendedEvalContext().Copy()
132132
dsp.Run(ctx, planCtx, nil /* txn */, plan, recv, evalCtxCopy, nil /* finishedSetupFn */)
133-
return nil
133+
return rowResultWriter.Err()
134134
}
135135

136136
// createCompactionPlan creates an un-finalized physical plan that will

0 commit comments

Comments
 (0)