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: Remove time tick delay metrics when nodes go offline #30833

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

congqixia
Copy link
Contributor

See also #30832

This PR removes time tick delay metrics when rootcoord GetMetrics response does not have previously existed querynode/datanode

Also add unit tests for this case

See also milvus-io#30832

This PR removes time tick delay metrics when rootcoord GetMetrics
response does not have previously existed querynode/datanode

Also add unit tests for this case

Signed-off-by: Congqi Xia <[email protected]>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Feb 26, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

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

@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Feb 26, 2024
Copy link
Contributor

mergify bot commented Feb 26, 2024

@congqixia ut workflow job failed, comment rerun ut can trigger the job again.

Copy link
Contributor

mergify bot commented Feb 26, 2024

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

Copy link
Contributor

mergify bot commented Feb 26, 2024

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

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.71%. Comparing base (e5353ad) to head (2f3e148).
Report is 26 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #30833      +/-   ##
==========================================
+ Coverage   80.48%   80.71%   +0.22%     
==========================================
  Files         964      964              
  Lines      137160   137276     +116     
==========================================
+ Hits       110400   110802     +402     
+ Misses      23036    22751     -285     
+ Partials     3724     3723       -1     
Files Coverage Δ
internal/rootcoord/quota_center.go 91.66% <100.00%> (+1.04%) ⬆️
pkg/util/testutils/prometheus_metric.go 100.00% <100.00%> (ø)

... and 39 files with indirect coverage changes

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link
Contributor

mergify bot commented Feb 27, 2024

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

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

@XuanYang-cn
Copy link
Contributor

/lgtm

@yanliang567 yanliang567 added ci-passed manual-pass manually set pass before ci-passed labeled labels Feb 28, 2024
@sre-ci-robot sre-ci-robot merged commit af31553 into milvus-io:master Feb 28, 2024
13 of 14 checks passed
congqixia added a commit to congqixia/milvus that referenced this pull request Feb 28, 2024
…30833)

See also milvus-io#30832

This PR removes time tick delay metrics when rootcoord GetMetrics
response does not have previously existed querynode/datanode

Also add unit tests for this case

---------

Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi.Xia <[email protected]>
sre-ci-robot pushed a commit that referenced this pull request Feb 28, 2024
…ne (#30833) (#30879)

Cherry-pick from master
pr: #30833
See also #30832

This PR removes time tick delay metrics when rootcoord GetMetrics
response does not have previously existed querynode/datanode

Also add unit tests for this case

---------

---------

Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi.Xia <[email protected]>
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/bug Issues or changes related a bug lgtm manual-pass manually set pass before ci-passed labeled size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants