Repository navigation
[4.2] fix(cnservice): bound stale pipeline backend retries - #27555
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
LeftHandCold
left a comment
There was a problem hiding this comment.
Reviewed exact head 32bdbf5 against PR base and merge-base 4.2-dev@399e1a16ad048b4b968d125fcdc9c96beb21ed6a.
No blockers. The net two-file diff has the same stable patch-id as the approved final diff of #27528. Pipeline backend creation now bounds both process-wide factory queue admission and the connect/retry phase with the 5-second per-connect budget. The scheduled endpoint remains fixed; failure propagates to RemoteRun, which cancels and cleans the statement path. Q1-Q3 close: no new resource owner or unbounded accumulation, every wait reaches a local timeout/context edge, and existing MORPC generation checks prevent late factory completion from publishing into a replaced generation.
Validated the changed package with go list, build, vet, focused regression, full tests, focused race stress at count=100 using T=0.04s and B=30s, full owning-package race, full MORPC tests, compile failure/cleanup consumer tests, and diff checks. The full compile package has three unrelated Parquet fanout failures; the exact base reproduces the same three tests with identical assertions under the same toolchain and native artifacts. CI was still running at review time.
|
Tick the box to add this pull request to the merge queue (same as
|
What type of PR is this?
Which issue(s) this PR fixes:
Backport of #27528 for
4.2-dev.Related issue: #27523.
What this PR does / why we need it:
The backport patch-id is identical to the final two-file diff of #27528.
Validation
GOWORK=off go list -mod=readonly ./pkg/cnservice/cnclientGOWORK=off go build -mod=readonly ./pkg/cnservice/cnclientGOWORK=off go vet -mod=readonly ./pkg/cnservice/cnclientTestPipelineBackendCreateOptionsBoundRetry./pkg/cnservice/cnclienttestsTestPipelineBackendCreateOptionsBoundRetry,-race -count=100./pkg/cnservice/cnclientrace test./pkg/common/morpctests./pkg/sql/compiletestsgit diff --check