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] Use mvcc timestamp as guarantee ts if set (#38980) #39019

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

congqixia
Copy link
Contributor

Cherry pick from master
pr: #38980
When MvccTimestamp is set, it could be used as guarantee timestamp directly instead of new ts allocated by scheduler reducing the waiting time when delegator has tsafe lag

@sre-ci-robot sre-ci-robot added size/XS Denotes a PR that changes 0-9 lines. approved labels Jan 6, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jan 6, 2025
Copy link
Contributor

mergify bot commented Jan 6, 2025

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

When MvccTimestamp is set, it could be used as guarantee timestamp
directly instead of new ts allocated by scheduler reducing the waiting
time when delegator has tsafe lag

Signed-off-by: Congqi Xia <[email protected]>
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.05%. Comparing base (e6dd3e5) to head (63c89af).
Report is 4 commits behind head on 2.5.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              2.5   #39019       +/-   ##
===========================================
+ Coverage   69.45%   81.05%   +11.59%     
===========================================
  Files         294     1383     +1089     
  Lines       26419   195519   +169100     
===========================================
+ Hits        18349   158475   +140126     
- Misses       8070    31472    +23402     
- Partials        0     5572     +5572     
Components Coverage Δ
Client 78.26% <ø> (∅)
Core 69.45% <ø> (ø)
Go 83.03% <100.00%> (∅)
Files with missing lines Coverage Δ
internal/proxy/task_query.go 80.74% <100.00%> (ø)

... and 1088 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Jan 7, 2025
Copy link
Contributor

@XuanYang-cn XuanYang-cn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, XuanYang-cn

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

The pull request process is described 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

@sre-ci-robot sre-ci-robot merged commit 4b62dfd into milvus-io:2.5 Jan 7, 2025
20 checks passed
@congqixia congqixia deleted the cp25/38980 branch January 13, 2025 06:16
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/enhancement Issues or changes related to enhancement lgtm size/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants