Repository navigation
Conversation
# Conflicts: # pkg/pb/pipeline/pipeline.pb.go
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? |
Contributor
Merge Queue Status
This pull request spent 48 minutes 40 seconds in the queue, with no time running CI. ReasonPull request #26711 has been merged manually at f526bc7 HintYou were too fast! Tick the box to put this pull request back in the merge queue (same as
|
This was referenced Aug 6, 2026
Closed
mergify Bot
pushed a commit
that referenced
this pull request
Aug 6, 2026
Remote batch backpressure records a batch as outstanding until the client sends its ACK. The connector, dispatch, and remote-notify receive loops returned before that ACK when downstream had already stopped, leaving the server drain barrier to wait for its 30-second timeout. This change acknowledges a successfully decoded batch after it is handed off or intentionally discarded, before a graceful early return. Error and cancellation paths still return without a success ACK and rely on stream teardown, preserving the bounded-credit behavior introduced by #26711. It also adds regression coverage for all three graceful-stop paths. Tests: - `go test -race -count=25` for each new/updated regression test - `go test -race -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/colexec/connector ./pkg/sql/colexec/dispatch` - `go list`, `go build`, and `go vet` for `./pkg/sql/compile` Approved by: @XuPeng-SH
1 of 7 tasks
XuPeng-SH
added a commit
that referenced
this pull request
Aug 28, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue #26720 ## What this PR does / why we need it: Backport the fixes missing from `4.2-dev` for [#26720](#26720) and [#25114](#25114). Included PRs: - #26711: Fix pipeline remote batch backpressure - #26739: Retry COS multipart initialization on EOF - #26759: Fix IVF prefilter OOM - #26989: Reduce IVF prefilter scan memory copies - #27156: Keep connections alive after long-running requests The changes address vector-index memory usage, file-service retry behavior, remote pipeline backpressure, and frontend connection lifecycle on `4.2-dev`. --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: XuPeng-SH <[email protected]>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#25114 ## What this PR does / why we need it: Fix/pipeline remote batch backpressure --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
Remote batch backpressure records a batch as outstanding until the client sends its ACK. The connector, dispatch, and remote-notify receive loops returned before that ACK when downstream had already stopped, leaving the server drain barrier to wait for its 30-second timeout. This change acknowledges a successfully decoded batch after it is handed off or intentionally discarded, before a graceful early return. Error and cancellation paths still return without a success ACK and rely on stream teardown, preserving the bounded-credit behavior introduced by matrixorigin#26711. It also adds regression coverage for all three graceful-stop paths. Tests: - `go test -race -count=25` for each new/updated regression test - `go test -race -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/colexec/connector ./pkg/sql/colexec/dispatch` - `go list`, `go build`, and `go vet` for `./pkg/sql/compile` Approved by: @XuPeng-SH
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#25114 ## What this PR does / why we need it: Fix/pipeline remote batch backpressure --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
Remote batch backpressure records a batch as outstanding until the client sends its ACK. The connector, dispatch, and remote-notify receive loops returned before that ACK when downstream had already stopped, leaving the server drain barrier to wait for its 30-second timeout. This change acknowledges a successfully decoded batch after it is handed off or intentionally discarded, before a graceful early return. Error and cancellation paths still return without a success ACK and rely on stream teardown, preserving the bounded-credit behavior introduced by matrixorigin#26711. It also adds regression coverage for all three graceful-stop paths. Tests: - `go test -race -count=25` for each new/updated regression test - `go test -race -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/colexec/connector ./pkg/sql/colexec/dispatch` - `go list`, `go build`, and `go vet` for `./pkg/sql/compile` Approved by: @XuPeng-SH
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#25114 ## What this PR does / why we need it: Fix/pipeline remote batch backpressure --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
Remote batch backpressure records a batch as outstanding until the client sends its ACK. The connector, dispatch, and remote-notify receive loops returned before that ACK when downstream had already stopped, leaving the server drain barrier to wait for its 30-second timeout. This change acknowledges a successfully decoded batch after it is handed off or intentionally discarded, before a graceful early return. Error and cancellation paths still return without a success ACK and rely on stream teardown, preserving the bounded-credit behavior introduced by matrixorigin#26711. It also adds regression coverage for all three graceful-stop paths. Tests: - `go test -race -count=25` for each new/updated regression test - `go test -race -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/compile` - `go test -count=1 ./pkg/sql/colexec/connector ./pkg/sql/colexec/dispatch` - `go list`, `go build`, and `go vet` for `./pkg/sql/compile` Approved by: @XuPeng-SH
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #25114
What this PR does / why we need it:
Fix/pipeline remote batch backpressure