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

fix: Fill stats log id and check validity #33477

Merged
merged 4 commits into from
Jun 5, 2024

Conversation

bigsheeper
Copy link
Contributor

  1. Fill log ID of stats log from import
  2. Add a check to validate the log ID before writing to meta

issue: #33476

@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label May 30, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels May 30, 2024
@jaime0815
Copy link
Contributor

/lgtm

@chyezh
Copy link
Contributor

chyezh commented May 30, 2024

/lgtm

Signed-off-by: bigsheeper <[email protected]>
@sre-ci-robot sre-ci-robot added size/L Denotes a PR that changes 100-499 lines. and removed lgtm size/M Denotes a PR that changes 30-99 lines. labels May 30, 2024
jaime0815 pushed a commit that referenced this pull request May 30, 2024
1. Fill log ID of stats log from import
2. Add a check to validate the log ID before writing to meta

issue: #33476

pr: #33477

---------

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

codecov bot commented May 30, 2024

Codecov Report

Attention: Patch coverage is 76.47059% with 12 lines in your changes missing coverage. Please review.

Project coverage is 82.03%. Comparing base (0cf225f) to head (e732f7f).
Report is 26 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #33477      +/-   ##
==========================================
+ Coverage   81.95%   82.03%   +0.08%     
==========================================
  Files        1014     1006       -8     
  Lines      129999   130238     +239     
==========================================
+ Hits       106544   106845     +301     
+ Misses      19469    19421      -48     
+ Partials     3986     3972      -14     
Files Coverage Δ
internal/datacoord/import_scheduler.go 69.33% <100.00%> (ø)
internal/metastore/kv/binlog/binlog.go 73.07% <100.00%> (-1.24%) ⬇️
internal/metastore/kv/datacoord/util.go 60.62% <100.00%> (+5.59%) ⬆️
tests/integration/meta_watcher.go 75.26% <64.70%> (-6.70%) ⬇️

... and 219 files with indirect coverage changes

@mergify mergify bot added the ci-passed label May 30, 2024
@bigsheeper
Copy link
Contributor Author

rerun ut

sre-ci-robot pushed a commit that referenced this pull request May 31, 2024
1. Fill log ID of stats log from import
2. Add a check to validate the log ID before writing to meta

issue: #33476

pr: #33477

---------

Signed-off-by: bigsheeper <[email protected]>
@czs007
Copy link
Collaborator

czs007 commented Jun 5, 2024

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bigsheeper, czs007

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 35532a3 into milvus-io:master Jun 5, 2024
14 of 15 checks passed
yellow-shine pushed a commit to yellow-shine/milvus that referenced this pull request Jul 2, 2024
1. Fill log ID of stats log from import
2. Add a check to validate the log ID before writing to meta

issue: milvus-io#33476

---------

Signed-off-by: bigsheeper <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/test ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm sig/testing size/L Denotes a PR that changes 100-499 lines. test/integration integration test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants