resource_metering: introduce pub/sub mode#11087
resource_metering: introduce pub/sub mode#11087zhongzc wants to merge 21 commits intotikv:masterfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
|
/cc @crazycs520 @mornyx @breeswish |
|
@zhongzc: GitHub didn't allow me to request PR reviews from the following users: crazycs520, mornyx. Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
|
/cc @andylokandy |
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
|
[FORMAT CHECKER NOTIFICATION] Please provide the associated issue number in the commit messages, for example: |
|
@zhongzc: PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Maybe we can hold the review and the update of this PR until the change of Pub/Sub at TiDB side comes to an agreement since mostly they are similar designs. |
Signed-off-by: Zhenchi zhongzc_arch@outlook.com
Make the diagnostic node dependent on TiKV instead of TiKV dependent on the diagnostic node to reverse the dependency to a normal form.
Depends on: pingcap/kvproto#827
Related: pingcap/tidb#29020
What is changed and how it works?
resource-metering.enabledresource-metering.enabledtakes no effect anymore.kvproto::resource_usage_agent_grpc::ResourceMeteringPubSubresource_metering::Clientis_pendingandis_closed. Reporter depends on them to enable/disable the recorder.PubClientfor connecting the reporter and external subscribers.Check List
Tests
Side effects
Release note