Skip to content

[4.1-dev] fix: maintain covering secondary indexes - #25397

Merged
XuPeng-SH merged 7 commits into
matrixorigin:4.1-devfrom
XuPeng-SH:cherry-pick-25342-4.1-dev
Jul 2, 2026
Merged

XuPeng-SH merged 7 commits into
matrixorigin:4.1-devfrom
XuPeng-SH:cherry-pick-25342-4.1-dev

Conversation

@XuPeng-SH

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #25341

Backport of #25342 to 4.1-dev.

What this PR does / why we need it:

Cherry-picks the same seven non-merge commits from #25342 onto 4.1-dev to keep covering secondary index behavior consistent with main.

Local verification:

  • Confirmed 4.1-dev did not already contain the PR merge commit or the seven business commits.
  • Cherry-pick completed without conflicts.
  • Verified the cumulative backport diff matches fix: maintain covering secondary indexes #25342 merge diff by file list, diff stat, and stable patch-id (ef42719220f8784404f6b4b72e329d6293303764).
  • Attempted go test ./pkg/sql/plan and targeted plan tests locally, but both were blocked by automatic download of go1.26.4 on this machine. Local installed Go is go1.25.4; CI should run with the 4.1-dev toolchain.

@XuPeng-SH
XuPeng-SH requested a review from a user July 2, 2026 09:48
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify mergify Bot added kind/bug Something isn't working kind/test-ci kind/refactor Code refactor labels Jul 2, 2026
@matrix-meow matrix-meow added the size/XL Denotes a PR that changes [1000, 1999] lines label Jul 2, 2026
@XuPeng-SH
XuPeng-SH merged commit d79a0d8 into matrixorigin:4.1-dev Jul 2, 2026
39 of 43 checks passed

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working kind/refactor Code refactor kind/test-ci size/XL Denotes a PR that changes [1000, 1999] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants