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.4] Use pre-built logger for write buffer frequent ops (#33273) #33304

Merged
merged 1 commit into from
May 23, 2024

Conversation

congqixia
Copy link
Contributor

Cherry-pick from master
pr: #33273
See also #33266

Each WriteBuffer shall have same channel/collection id attribute, so use same logger will do and reduce logger allocation & frequent name composition

…o#33273)

See also milvus-io#33266

Each `WriteBuffer` shall have same channel/collection id attribute, so
use same logger will do and reduce logger allocation & frequent name
composition

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@sre-ci-robot sre-ci-robot added approved size/M Denotes a PR that changes 30-99 lines. labels May 23, 2024
@sre-ci-robot sre-ci-robot requested review from sunby and XuanYang-cn May 23, 2024 03:43
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels May 23, 2024
@congqixia congqixia added this to the 2.4.3 milestone May 23, 2024
Copy link

codecov bot commented May 23, 2024

Codecov Report

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

Project coverage is 82.13%. Comparing base (ad4c197) to head (85a6b8f).
Report is 1 commits behind head on 2.4.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.4   #33304      +/-   ##
==========================================
- Coverage   82.14%   82.13%   -0.01%     
==========================================
  Files        1005     1005              
  Lines      128053   128052       -1     
==========================================
- Hits       105184   105177       -7     
+ Misses      18913    18903      -10     
- Partials     3956     3972      +16     
Files Coverage Δ
internal/datanode/writebuffer/l0_write_buffer.go 88.77% <100.00%> (ø)
internal/datanode/writebuffer/write_buffer.go 92.03% <80.00%> (-0.03%) ⬇️

... and 30 files with indirect coverage changes

@mergify mergify bot added the ci-passed label May 23, 2024
@XuanYang-cn
Copy link
Contributor

/lgtm
/approve

@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 3bd8137 into milvus-io:2.4 May 23, 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/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants