Skip to content

fix: [2.6] Pass OpContext to PinCells calls (#50231)#50303

Open
congqixia wants to merge 2 commits into
milvus-io:2.6from
congqixia:cp26/50231
Open

fix: [2.6] Pass OpContext to PinCells calls (#50231)#50303
congqixia wants to merge 2 commits into
milvus-io:2.6from
congqixia:cp26/50231

Conversation

@congqixia

Copy link
Copy Markdown
Contributor

Cherry-pick from master
pr: #50231
Related to #50230

Pass op ctx to PinCells calls during search & query cgo calls so that AsyncCGO cancellation could be detected by cachying layer avoiding waste waiting time for resource requesting.

Related to milvus-io#50230

Pass op ctx to `PinCells` calls during search & query cgo calls so that
AsyncCGO cancellation could be detected by cachying layer avoiding waste
waiting time for resource requesting.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@congqixia congqixia added this to the 2.6.19 milestone Jun 5, 2026
@sre-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot added approved size/M Denotes a PR that changes 30-99 lines. labels Jun 5, 2026
@mergify mergify Bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Jun 5, 2026
@sre-ci-robot

Copy link
Copy Markdown
Contributor

[ci-v2-notice]
Notice: New ci-v2 system is enabled for this PR.

To rerun ci-v2 checks, comment with:

  • /ci-rerun-code-check // for ci-v2/code-check
  • /ci-rerun-code-check-macos // for Code Checker MacOS (GitHub Actions)
  • /ci-rerun-build // for ci-v2/build
  • /ci-rerun-build-all // for ci-v2/build-all (multi-arch builds)
  • /ci-rerun-buildenv // for ci-v2/build-env (build milvus-env builder images)
  • /ci-rerun-ut-integration // for ci-v2/ut-integration, will rerun ci-v2/build
  • /ci-rerun-ut-go // for ci-v2/ut-go, will rerun ci-v2/build
  • /ci-rerun-ut-cpp // for ci-v2/ut-cpp
  • /ci-rerun-ut // for all ci-v2/ut-integration, ci-v2/ut-go, ci-v2/ut-cpp, will rerun ci-v2/build
  • /ci-rerun-e2e-default // for ci-v2/e2e-default
  • /ci-rerun-e2e-amd // for ci-v2/e2e-amd (e2e pool dispatcher)
  • /ci-rerun-build-ut-cov // for ci-v2/build-ut-cov (build + unit tests in one pipeline)
  • /ci-rerun-gosdk // for ci-v2/go-sdk (Go SDK E2E tests, ARM)

If you have any questions or requests, please contact @zhikunyao.

@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.79518% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.74%. Comparing base (cb08db0) to head (772470d).
⚠️ Report is 939 commits behind head on 2.6.

Files with missing lines Patch % Lines
...rnal/core/src/segcore/ChunkedSegmentSealedImpl.cpp 66.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.6   #50303      +/-   ##
==========================================
+ Coverage   76.99%   77.74%   +0.74%     
==========================================
  Files        1700     1999     +299     
  Lines      262533   328895   +66362     
==========================================
+ Hits       202142   255702   +53560     
- Misses      53550    65355   +11805     
- Partials     6841     7838     +997     
Components Coverage Δ
Client 79.48% <74.73%> (+1.34%) ⬆️
Core 84.58% <45.83%> (+2.37%) ⬆️
Go 75.82% <55.00%> (+0.43%) ⬆️
Files with missing lines Coverage Δ
...ernal/core/src/exec/expression/BinaryRangeExpr.cpp 70.75% <100.00%> (-0.06%) ⬇️
internal/core/src/exec/expression/TermExpr.cpp 73.65% <100.00%> (-1.73%) ⬇️
internal/core/src/exec/expression/UnaryExpr.cpp 72.10% <100.00%> (+0.12%) ⬆️
internal/core/src/index/SkipIndex.cpp 98.76% <100.00%> (ø)
internal/core/src/index/SkipIndex.h 95.90% <100.00%> (+1.73%) ⬆️
internal/core/src/query/SearchOnSealed.cpp 97.48% <100.00%> (+9.57%) ⬆️
...ternal/core/src/segcore/ChunkedSegmentSealedImpl.h 68.62% <ø> (-4.39%) ⬇️
internal/core/src/segcore/SegmentGrowingImpl.cpp 65.28% <100.00%> (-11.44%) ⬇️
internal/core/src/segcore/SegmentGrowingImpl.h 65.38% <ø> (-2.66%) ⬇️
internal/core/src/segcore/SegmentInterface.h 69.69% <ø> (-0.76%) ⬇️
... and 3 more

... and 1398 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sre-ci-robot sre-ci-robot added the low-code-coverage add test-label from zhikun, diff coverage > 80% label Jun 5, 2026
@sre-ci-robot

Copy link
Copy Markdown
Contributor

[INFO] PR Label Summary by Default
[SUCCESS] PR #50231 merged to master

Use /refresh-label to update related check and label manually

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added size/L Denotes a PR that changes 100-499 lines. and removed size/M Denotes a PR that changes 30-99 lines. labels Jun 5, 2026
@sre-ci-robot

Copy link
Copy Markdown
Contributor

[INFO] PR Label Summary by Default
[SUCCESS] PR #50231 merged to master

Use /refresh-label to update related check and label manually

@mergify mergify Bot added the ci-passed label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug low-code-coverage add test-label from zhikun, diff coverage > 80% size/L Denotes a PR that changes 100-499 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants