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: Use struct{} for sync task future result #32673

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

congqixia
Copy link
Contributor

Related to #27675

Use struct{} instead error for sync task future result type to reduce result size and preventing logci error.

Also change some unused parameter to _ to suppress lint warning

Related to milvus-io#27675

Use `struct{}` instead `error` for sync task future result type to
reduce result size and preventing logci error.

Also change some unused parameter to `_` to suppress lint warning

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added approved size/L Denotes a PR that changes 100-499 lines. labels Apr 28, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Apr 28, 2024
Copy link

codecov bot commented Apr 28, 2024

Codecov Report

Attention: Patch coverage is 92.85714% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.73%. Comparing base (967cfb3) to head (6dcf1a8).
Report is 11 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #32673      +/-   ##
==========================================
+ Coverage   81.72%   81.73%   +0.01%     
==========================================
  Files         998      998              
  Lines      124044   124088      +44     
==========================================
+ Hits       101374   101426      +52     
- Misses      18799    18801       +2     
+ Partials     3871     3861      -10     
Files Coverage Δ
internal/datanode/flow_graph_write_node.go 84.12% <ø> (ø)
internal/datanode/importv2/scheduler.go 86.16% <100.00%> (ø)
internal/datanode/metrics_info.go 92.00% <100.00%> (ø)
internal/datanode/syncmgr/storage_serializer.go 91.37% <100.00%> (+0.07%) ⬆️
internal/datanode/writebuffer/write_buffer.go 91.47% <100.00%> (ø)
internal/datanode/syncmgr/sync_manager.go 94.36% <80.00%> (ø)

... and 21 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Apr 28, 2024
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 2c1e8f4 into milvus-io:master Apr 29, 2024
15 checks passed
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/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants