Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: [2.5] enable task delta cache #39349

Open
wants to merge 2 commits into
base: 2.5
Choose a base branch
from

Conversation

bigsheeper
Copy link
Contributor

When there are many segment tasks in the querycoord scheduler, the traversal in GetSegmentTaskDelta checks becomes time-consuming. This PR adds caching for segment deltas.

issue: #37630

pr: #39307

@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Jan 16, 2025
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bigsheeper
To complete the pull request process, please assign yanliang567 after the PR has been reviewed.
You can assign the PR to them by writing /assign @yanliang567 in a comment when ready.

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

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

@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jan 16, 2025
Copy link
Contributor

mergify bot commented Jan 16, 2025

@bigsheeper cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@bigsheeper bigsheeper added this to the 2.5.4 milestone Jan 16, 2025
Copy link
Contributor

mergify bot commented Jan 16, 2025

@bigsheeper go-sdk check failed, comment rerun go-sdk can trigger the job again.

Copy link
Contributor

mergify bot commented Jan 16, 2025

@bigsheeper E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@bigsheeper
Copy link
Contributor Author

rerun go-sdk

@bigsheeper
Copy link
Contributor Author

/run-cpu-e2e

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.83%. Comparing base (e752059) to head (0580d97).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.5   #39349      +/-   ##
==========================================
+ Coverage   80.99%   82.83%   +1.83%     
==========================================
  Files        1404     1104     -300     
  Lines      197531   170793   -26738     
==========================================
- Hits       159999   141476   -18523     
+ Misses      31898    23699    -8199     
+ Partials     5634     5618      -16     
Components Coverage Δ
Client 78.26% <ø> (ø)
Core ∅ <ø> (∅)
Go 83.00% <100.00%> (+0.03%) ⬆️
Files with missing lines Coverage Δ
internal/querycoordv2/task/scheduler.go 88.39% <100.00%> (+1.69%) ⬆️

... and 325 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants