Skip to content

Reclaim TiKV's component server and status server#152

Merged
CalvinNeo merged 6 commits intopingcap:raftstore-proxy-6.2from
CalvinNeo:migrate-remove-component-server-and-status-server-6.2
Sep 2, 2022
Merged

Reclaim TiKV's component server and status server#152
CalvinNeo merged 6 commits intopingcap:raftstore-proxy-6.2from
CalvinNeo:migrate-remove-component-server-and-status-server-6.2

Conversation

@CalvinNeo
Copy link
Member

@CalvinNeo CalvinNeo commented Aug 26, 2022

Signed-off-by: CalvinNeo calvinneo1995@gmail.com

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

CalvinNeo and others added 2 commits August 26, 2022 19:03
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
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 <calvinneo1995@gmail.com>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
@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