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

Reclaim TiKV's component server and status server #152

Conversation

CalvinNeo
Copy link
Member

@CalvinNeo CalvinNeo commented Aug 26, 2022

Signed-off-by: CalvinNeo [email protected]

What problem does this PR solve?

Issue Number: ref pingcap/tiflash#5170

Problem Summary:

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@@ -220,9 +220,9 @@ pub fn initial_logger(config: &TiKvConfig) {
pub fn initial_metric(cfg: &MetricConfig) {
tikv_util::metrics::monitor_process()
.unwrap_or_else(|e| fatal!("failed to start process monitor: {}", e));
tikv_util::metrics::monitor_threads("")
tikv_util::metrics::monitor_threads("tikv")
Copy link
Member

Choose a reason for hiding this comment

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

Interesting.. Will this cause metric name changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, though we use proxy_server not, but you are right, we should have our own initial_metric...

Copy link
Member

@breezewish breezewish left a comment

Choose a reason for hiding this comment

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

The rest LGTM

Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
@CalvinNeo CalvinNeo force-pushed the migrate-remove-component-server-and-status-server-6.2 branch from b7a0229 to 6720f60 Compare September 1, 2022 09:36
@CalvinNeo CalvinNeo merged commit 6ff4158 into pingcap:raftstore-proxy-6.2 Sep 2, 2022
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.

2 participants