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

[to #48] remove mount metircs #87

Merged
merged 3 commits into from
Apr 21, 2022
Merged

Conversation

zeminzhou
Copy link
Contributor

Signed-off-by: zeminzhou zeminzhou_@outlook.com

What problem does this PR solve?

Issue Number: to #48

Problem Description:
The mount has been removed, related codes should be removed.

What is changed and how does it work?

Remove metrics code for mount.

Code changes

  • Has exported function/method change
  • Has exported variable/fields change

Check List for Tests

This PR has been tested by at least one of the following methods:

  • Unit test

Signed-off-by: zeminzhou <zeminzhou_@outlook.com>
@zeminzhou zeminzhou requested review from pingyu and zz-jason April 18, 2022 08:05
@zeminzhou zeminzhou changed the title remove mount metircs [to #48] remove mount metircs Apr 18, 2022
Signed-off-by: zeminzhou <zhouzemin@ping.com>
Comment on lines -49 to -54
// Sorter metrics
// sorter.InitMetrics(registry)
// memory.InitMetrics(registry)
// unified.InitMetrics(registry)
// leveldb.InitMetrics(registry)
// redowriter.InitMetrics(registry)
Copy link
Member

Choose a reason for hiding this comment

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

how about just removing them instead of commenting them out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, we should remove them.

Copy link
Collaborator

@pingyu pingyu left a comment

Choose a reason for hiding this comment

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

LGTM~

@pingyu
Copy link
Collaborator

pingyu commented Apr 19, 2022

TestRegionWorkerExitWhenIsIdle seems to be not stable in gh. The same test in Jenkins is successful.
I think we can leave it alone now and resolve later.

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason merged commit 73e6870 into tikv:main Apr 21, 2022
@zeminzhou zeminzhou deleted the remove-mount-metrics branch July 4, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants