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

store/tikv: move metrics shortcuts to /metrics #22693

Merged
merged 4 commits into from
Feb 4, 2021
Merged

store/tikv: move metrics shortcuts to /metrics #22693

merged 4 commits into from
Feb 4, 2021

Conversation

disksing
Copy link
Contributor

@disksing disksing commented Feb 3, 2021

Signed-off-by: disksing i@disksing.com

What problem does this PR solve?

#22542 caused a problem: after using InitMetrics to reset the namespace, all metrics shortcuts become invalid.
Part of #22513

What is changed and how it works?

What's Changed:

  • Move shortcuts to store/tikv/metrics.
  • reset shortcuts when InitMetrics is called.

Check List

Tests

  • Unit test

Release note

  • No release note

Signed-off-by: disksing <i@disksing.com>
@disksing disksing added the sig/transaction SIG:Transaction label Feb 3, 2021
andylokandy
andylokandy previously approved these changes Feb 4, 2021
@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Feb 4, 2021
Copy link
Contributor

@AndreMouche AndreMouche left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Feb 4, 2021
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Feb 4, 2021
@AndreMouche
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Feb 4, 2021
@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit 4fe72e5 into pingcap:master Feb 4, 2021
@disksing disksing deleted the metrics branch February 18, 2021 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/transaction SIG:Transaction status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants